1 // moment.js language configuration
2 // language : turkish (tr)
3 // authors : Erhan Gundogan : https://github.com/erhangundogan,
4 // Burak Yiğit Kaya: https://github.com/BYK
7 if (typeof define
=== 'function' && define
.amd
) {
8 define(['moment'], factory
); // AMD
9 } else if (typeof exports
=== 'object') {
10 module
.exports
= factory(require('../moment')); // Node
12 factory(window
.moment
); // Browser global
42 return moment
.lang('tr', {
43 months
: "Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),
44 monthsShort
: "Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),
45 weekdays
: "Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),
46 weekdaysShort
: "Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),
47 weekdaysMin
: "Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),
52 LLL
: "D MMMM YYYY LT",
53 LLLL
: "dddd, D MMMM YYYY LT"
56 sameDay
: '[bugün saat] LT',
57 nextDay
: '[yarın saat] LT',
58 nextWeek
: '[haftaya] dddd [saat] LT',
60 lastWeek
: '[geçen hafta] dddd [saat] LT',
78 ordinal : function (number
) {
79 if (number
=== 0) { // special case for zero
80 return number
+ "'ıncı";
84 c
= number
>= 100 ? 100 : null;
86 return number
+ (suffixes
[a
] || suffixes
[b
] || suffixes
[c
]);
89 dow
: 1, // Monday is the first day of the week.
90 doy
: 7 // The week that contains Jan 1st is the first week of the year.