1 //! moment.js locale configuration
2 //! locale : Turkish [tr]
3 //! authors : Erhan Gundogan : https://github.com/erhangundogan,
4 //! Burak Yiğit Kaya: https://github.com/BYK
6 ;(function (global, factory) {
7 typeof exports === 'object' && typeof module !== 'undefined'
8 && typeof require === 'function' ? factory(require('../moment')) :
9 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10 factory(global.moment)
11 }(this, (function (moment) { 'use strict';
13 //! moment.js locale configuration
36 var tr = moment.defineLocale('tr', {
37 months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split(
40 monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
41 weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split(
44 weekdaysShort: 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'),
45 weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
51 LLL: 'D MMMM YYYY HH:mm',
52 LLLL: 'dddd, D MMMM YYYY HH:mm',
55 sameDay: '[bugün saat] LT',
56 nextDay: '[yarın saat] LT',
57 nextWeek: '[gelecek] dddd [saat] LT',
59 lastWeek: '[geçen] dddd [saat] LT',
78 ordinal: function (number, period) {
87 // special case for zero
88 return number + "'ıncı";
91 b = (number % 100) - a,
92 c = number >= 100 ? 100 : null;
93 return number + (suffixes[a] || suffixes[b] || suffixes[c]);
97 dow: 1, // Monday is the first day of the week.
98 doy: 7, // The week that contains Jan 7th is the first week of the year.