summaryrefslogtreecommitdiffstats
path: root/js/vendor/momentjs/locale/tr.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/vendor/momentjs/locale/tr.js')
-rw-r--r--js/vendor/momentjs/locale/tr.js44
1 files changed, 20 insertions, 24 deletions
diff --git a/js/vendor/momentjs/locale/tr.js b/js/vendor/momentjs/locale/tr.js
index cd0a74622..638edbb02 100644
--- a/js/vendor/momentjs/locale/tr.js
+++ b/js/vendor/momentjs/locale/tr.js
@@ -1,44 +1,38 @@
-// moment.js locale configuration
-// locale : turkish (tr)
-// authors : Erhan Gundogan : https://github.com/erhangundogan,
-// Burak Yiğit Kaya: https://github.com/BYK
+//! moment.js locale configuration
+//! locale : turkish (tr)
+//! authors : Erhan Gundogan : https://github.com/erhangundogan,
+//! Burak Yiğit Kaya: https://github.com/BYK
+
+;(function (global, factory) {
+ typeof exports === 'object' && typeof module !== 'undefined'
+ && typeof require === 'function' ? factory(require('../moment')) :
+ typeof define === 'function' && define.amd ? define(['moment'], factory) :
+ factory(global.moment)
+}(this, function (moment) { 'use strict';
+
-(function (factory) {
- if (typeof define === 'function' && define.amd) {
- define(['moment'], factory); // AMD
- } else if (typeof exports === 'object') {
- module.exports = factory(require('../moment')); // Node
- } else {
- factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
- }
-}(function (moment) {
var suffixes = {
1: '\'inci',
5: '\'inci',
8: '\'inci',
70: '\'inci',
80: '\'inci',
-
2: '\'nci',
7: '\'nci',
20: '\'nci',
50: '\'nci',
-
3: '\'üncü',
4: '\'üncü',
100: '\'üncü',
-
6: '\'ncı',
-
9: '\'uncu',
10: '\'uncu',
30: '\'uncu',
-
60: '\'ıncı',
90: '\'ıncı'
};
- return moment.defineLocale('tr', {
+ var tr = moment.defineLocale('tr', {
months : 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'),
monthsShort : 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
weekdays : 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'),
@@ -46,11 +40,11 @@
weekdaysMin : 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
longDateFormat : {
LT : 'HH:mm',
- LTS : 'LT:ss',
+ LTS : 'HH:mm:ss',
L : 'DD.MM.YYYY',
LL : 'D MMMM YYYY',
- LLL : 'D MMMM YYYY LT',
- LLLL : 'dddd, D MMMM YYYY LT'
+ LLL : 'D MMMM YYYY HH:mm',
+ LLLL : 'dddd, D MMMM YYYY HH:mm'
},
calendar : {
sameDay : '[bugün saat] LT',
@@ -83,7 +77,6 @@
var a = number % 10,
b = number % 100 - a,
c = number >= 100 ? 100 : null;
-
return number + (suffixes[a] || suffixes[b] || suffixes[c]);
},
week : {
@@ -91,4 +84,7 @@
doy : 7 // The week that contains Jan 1st is the first week of the year.
}
});
-}));
+
+ return tr;
+
+})); \ No newline at end of file