aboutsummaryrefslogtreecommitdiffstats
path: root/library/moment/src/locale/tzl.js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-11-18 23:56:25 +0100
committerMario Vavti <mario@mariovavti.com>2015-11-18 23:56:25 +0100
commitb23284cba28335f61595f2264685b1bbafc19183 (patch)
tree696cbfc2b5a609c636e0d1d7a3a2f9ad7a302266 /library/moment/src/locale/tzl.js
parent0c163c4d038a4c26335af1bde366d8ef9e53c464 (diff)
downloadvolse-hubzilla-b23284cba28335f61595f2264685b1bbafc19183.tar.gz
volse-hubzilla-b23284cba28335f61595f2264685b1bbafc19183.tar.bz2
volse-hubzilla-b23284cba28335f61595f2264685b1bbafc19183.zip
move moment.min.js and remove unneeded files
Diffstat (limited to 'library/moment/src/locale/tzl.js')
-rw-r--r--library/moment/src/locale/tzl.js78
1 files changed, 0 insertions, 78 deletions
diff --git a/library/moment/src/locale/tzl.js b/library/moment/src/locale/tzl.js
deleted file mode 100644
index cae853429..000000000
--- a/library/moment/src/locale/tzl.js
+++ /dev/null
@@ -1,78 +0,0 @@
-//! moment.js locale configuration
-//! locale : talossan (tzl)
-//! author : Robin van der Vliet : https://github.com/robin0van0der0v with the help of Iustì Canun
-
-
-import moment from '../moment';
-
-// After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
-// This is currently too difficult (maybe even impossible) to add.
-export default moment.defineLocale('tzl', {
- months : 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split('_'),
- monthsShort : 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
- weekdays : 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
- weekdaysShort : 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
- weekdaysMin : 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
- longDateFormat : {
- LT : 'HH.mm',
- LTS : 'LT.ss',
- L : 'DD.MM.YYYY',
- LL : 'D. MMMM [dallas] YYYY',
- LLL : 'D. MMMM [dallas] YYYY LT',
- LLLL : 'dddd, [li] D. MMMM [dallas] YYYY LT'
- },
- meridiem : function (hours, minutes, isLower) {
- if (hours > 11) {
- return isLower ? 'd\'o' : 'D\'O';
- } else {
- return isLower ? 'd\'a' : 'D\'A';
- }
- },
- calendar : {
- sameDay : '[oxhi à] LT',
- nextDay : '[demà à] LT',
- nextWeek : 'dddd [à] LT',
- lastDay : '[ieiri à] LT',
- lastWeek : '[sür el] dddd [lasteu à] LT',
- sameElse : 'L'
- },
- relativeTime : {
- future : 'osprei %s',
- past : 'ja%s',
- s : processRelativeTime,
- m : processRelativeTime,
- mm : processRelativeTime,
- h : processRelativeTime,
- hh : processRelativeTime,
- d : processRelativeTime,
- dd : processRelativeTime,
- M : processRelativeTime,
- MM : processRelativeTime,
- y : processRelativeTime,
- yy : processRelativeTime
- },
- ordinalParse: /\d{1,2}\./,
- ordinal : '%d.',
- week : {
- dow : 1, // Monday is the first day of the week.
- doy : 4 // The week that contains Jan 4th is the first week of the year.
- }
-});
-
-function processRelativeTime(number, withoutSuffix, key, isFuture) {
- var format = {
- 's': ['viensas secunds', '\'iensas secunds'],
- 'm': ['\'n míut', '\'iens míut'],
- 'mm': [number + ' míuts', ' ' + number + ' míuts'],
- 'h': ['\'n þora', '\'iensa þora'],
- 'hh': [number + ' þoras', ' ' + number + ' þoras'],
- 'd': ['\'n ziua', '\'iensa ziua'],
- 'dd': [number + ' ziuas', ' ' + number + ' ziuas'],
- 'M': ['\'n mes', '\'iens mes'],
- 'MM': [number + ' mesen', ' ' + number + ' mesen'],
- 'y': ['\'n ar', '\'iens ar'],
- 'yy': [number + ' ars', ' ' + number + ' ars']
- };
- return isFuture ? format[key][0] : (withoutSuffix ? format[key][0] : format[key][1].trim());
-}
-