ar_TN.php
6 years ago
ca_ES.php
6 years ago
cs_CZ.php
6 years ago
da_DK.php
6 years ago
de_DE.php
6 years ago
en_GB.php
6 years ago
en_US.php
6 years ago
es_ES.php
6 years ago
fr_FR.php
6 years ago
hu_HU.php
6 years ago
id_ID.php
6 years ago
it_IT.php
6 years ago
ja_JP.php
6 years ago
ko_KR.php
6 years ago
lv_LV.php
6 years ago
nl_NL.php
6 years ago
no_NO.php
6 years ago
oc_LNC.php
6 years ago
pl_PL.php
6 years ago
pt_BR.php
6 years ago
pt_PT.php
6 years ago
ro_RO.php
6 years ago
ru_RU.php
6 years ago
se_SV.php
6 years ago
th_TH.php
6 years ago
tr_TR.php
6 years ago
uk_UA.php
6 years ago
vi_VN.php
6 years ago
zh_CN.php
6 years ago
zh_TW.php
6 years ago
en_GB.php
65 lines
| 1 | <?php |
| 2 | |
| 3 | // locale: great britain english (en-gb) |
| 4 | // author: Chris Gedrim https://github.com/chrisgedrim |
| 5 | |
| 6 | return array( |
| 7 | "months" => explode('_', 'January_February_March_April_May_June_July_August_September_October_November_December'), |
| 8 | "monthsNominative" => explode('_', 'January_February_March_April_May_June_July_August_September_October_November_December'), |
| 9 | "monthsShort" => explode('_', 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'), |
| 10 | "weekdays" => explode('_', 'Monday_Tuesday_Wednesday_Thursday_Friday_Saturday_Sunday'), |
| 11 | "weekdaysShort" => explode('_', 'Mon_Tue_Wed_Thu_Fri_Sat_Sun'), |
| 12 | "calendar" => array( |
| 13 | "sameDay" => '[Today]', |
| 14 | "nextDay" => '[Tomorrow]', |
| 15 | "lastDay" => '[Yesterday]', |
| 16 | "lastWeek" => '[Last] l', |
| 17 | "sameElse" => 'l', |
| 18 | "withTime" => '[at] H:i', |
| 19 | "default" => 'd/m/Y', |
| 20 | ), |
| 21 | "relativeTime" => array( |
| 22 | "future" => 'in %s', |
| 23 | "past" => '%s ago', |
| 24 | "s" => 'a few seconds', |
| 25 | "ss" => '%d seconds', |
| 26 | "m" => 'a minute', |
| 27 | "mm" => '%d minutes', |
| 28 | "h" => 'an hour', |
| 29 | "hh" => '%d hours', |
| 30 | "d" => 'a day', |
| 31 | "dd" => '%d days', |
| 32 | "M" => 'a month', |
| 33 | "MM" => '%d months', |
| 34 | "y" => 'a year', |
| 35 | "yy" => '%d years', |
| 36 | ), |
| 37 | "ordinal" => function ($number) |
| 38 | { |
| 39 | $n = $number % 100; |
| 40 | $ends = array('th', 'st', 'nd', 'rd', 'th', 'th', 'th', 'th', 'th', 'th'); |
| 41 | |
| 42 | if ($n >= 11 && $n <= 13) |
| 43 | { |
| 44 | return $number . '[th]'; |
| 45 | } |
| 46 | |
| 47 | return $number . '[' . $ends[$number % 10] . ']'; |
| 48 | }, |
| 49 | "week" => array( |
| 50 | "dow" => 1, // Monday is the first day of the week. |
| 51 | "doy" => 4 // The week that contains Jan 4th is the first week of the year. |
| 52 | ), |
| 53 | "customFormats" => array( |
| 54 | "LT" => "G:i", // 22:00 |
| 55 | "LTS" => "G:i:s", // 22:00:00 |
| 56 | "L" => "d/m/Y", // 12/06/2010 |
| 57 | "l" => "j/n/Y", // 12/6/2010 |
| 58 | "LL" => "j F Y", // 12 June 2010 |
| 59 | "ll" => "j M Y", // 12 Jun 2010 |
| 60 | "LLL" => "j F Y G:i", // 12 June 2010 22:00 |
| 61 | "lll" => "j M Y G:i", // 12 Jun 2010 22:00 |
| 62 | "LLLL" => "l, j F F Y G:i", // Saturday, 12 June June 2010 22:00 |
| 63 | "llll" => "D, j M Y G:i", // Sat, 12 Jun 2010 22:00 |
| 64 | ), |
| 65 | ); |