You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.3 KiB
39 lines
1.3 KiB
2 years ago
|
// Greek [el]
|
||
|
import dayjs from '../index';
|
||
|
var locale = {
|
||
|
name: 'el',
|
||
|
weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'),
|
||
|
weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),
|
||
|
weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),
|
||
|
months: 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'),
|
||
|
monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαι_Ιουν_Ιουλ_Αυγ_Σεπτ_Οκτ_Νοε_Δεκ'.split('_'),
|
||
|
ordinal: function ordinal(n) {
|
||
|
return n;
|
||
|
},
|
||
|
weekStart: 1,
|
||
|
relativeTime: {
|
||
|
future: 'σε %s',
|
||
|
past: 'πριν %s',
|
||
|
s: 'μερικά δευτερόλεπτα',
|
||
|
m: 'ένα λεπτό',
|
||
|
mm: '%d λεπτά',
|
||
|
h: 'μία ώρα',
|
||
|
hh: '%d ώρες',
|
||
|
d: 'μία μέρα',
|
||
|
dd: '%d μέρες',
|
||
|
M: 'ένα μήνα',
|
||
|
MM: '%d μήνες',
|
||
|
y: 'ένα χρόνο',
|
||
|
yy: '%d χρόνια'
|
||
|
},
|
||
|
formats: {
|
||
|
LT: 'h:mm A',
|
||
|
LTS: 'h:mm:ss A',
|
||
|
L: 'DD/MM/YYYY',
|
||
|
LL: 'D MMMM YYYY',
|
||
|
LLL: 'D MMMM YYYY h:mm A',
|
||
|
LLLL: 'dddd, D MMMM YYYY h:mm A'
|
||
|
}
|
||
|
};
|
||
|
dayjs.locale(locale, null, true);
|
||
|
export default locale;
|