DefaultFormatSettings/ru: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: DefaultFormatSettings/ru
| Old | New | Line | |
|---|---|---|---|
| 1 | + | **DefaultFormatSettings** является [[Global variables/ru|глобальной переменной]], содержащей настройки [[locale/ru|локали]] по умолчанию. В частности, она определяет (ныне устаревшую) переменную [[DecimalSeparator/ru|DecimalSeparator]]. | |
| 2 | + | ||
| 3 | + | ``` pascal | |
| 4 | + | ||
| 5 | + | DefaultFormatSettings : TFormatSettings = ( | |
| 6 | + | CurrencyFormat: 1; | |
| 7 | + | NegCurrFormat: 5; | |
| 8 | + | ThousandSeparator: ','; | |
| 9 | + | DecimalSeparator: '.'; | |
| 10 | + | CurrencyDecimals: 2; | |
| 11 | + | DateSeparator: '-'; | |
| 12 | + | TimeSeparator: ':'; | |
| 13 | + | ListSeparator: ','; | |
| 14 | + | CurrencyString: '$'; | |
| 15 | + | ShortDateFormat: 'd/m/y'; | |
| 16 | + | LongDateFormat: 'dd" "mmmm" "yyyy'; | |
| 17 | + | TimeAMString: 'AM'; | |
| 18 | + | TimePMString: 'PM'; | |
| 19 | + | ShortTimeFormat: 'hh:nn'; | |
| 20 | + | LongTimeFormat: 'hh:nn:ss'; | |
| 21 | + | ShortMonthNames: ('Jan','Feb','Mar','Apr','May','Jun', | |
| 22 | + | 'Jul','Aug','Sep','Oct','Nov','Dec'); | |
| 23 | + | LongMonthNames: ('January','February','March','April','May','June', | |
| 24 | + | 'July','August','September','October','November','December'); | |
| 25 | + | ShortDayNames: ('Sun','Mon','Tue','Wed','Thu','Fri','Sat'); | |
| 26 | + | LongDayNames: ('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'); | |
| 27 | + | TwoDigitYearCenturyWindow: 50; | |
| 28 | + | ); | |
| 29 | + | ||
| 30 | + | FormatSettings : TFormatSettings absolute DefaultFormatSettings; | |
| 31 | + | ``` | |
| 32 | + | ||
| 33 | + | --- | |
| 34 | + | *From the Free Pascal wiki, page "DefaultFormatSettings/ru", as it stood on 2020-02-12 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
