PHP Classes

File: CoffeeCMS/contents/themes/cfnews/assets/moment/locale/el.js

Recommend this page to a friend!
  Classes of James Brows   Coffee CMS   CoffeeCMS/contents/themes/cfnews/assets/moment/locale/el.js   Download  
File: CoffeeCMS/contents/themes/cfnews/assets/moment/locale/el.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Coffee CMS
Content management system using MVC based themes
Author: By
Last change:
Date: 3 years ago
Size: 3,966 bytes
 

Contents

Class file image Download
//! moment.js locale configuration //! locale : Greek [el] //! author : Aggelos Karalias : https://github.com/mehiel ;(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 isFunction(input) { return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]'; } var el = moment.defineLocale('el', { monthsNominativeEl : '??????????_???????????_???????_????????_?????_???????_???????_?????????_???????????_?????????_?????????_??????????'.split('_'), monthsGenitiveEl : '??????????_???????????_???????_????????_?????_???????_???????_?????????_???????????_?????????_?????????_??????????'.split('_'), months : function (momentToFormat, format) { if (!momentToFormat) { return this._monthsNominativeEl; } else if (/D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM' return this._monthsGenitiveEl[momentToFormat.month()]; } else { return this._monthsNominativeEl[momentToFormat.month()]; } }, monthsShort : '???_???_???_???_???_????_????_???_???_???_???_???'.split('_'), weekdays : '???????_???????_?????_???????_??????_?????????_???????'.split('_'), weekdaysShort : '???_???_???_???_???_???_???'.split('_'), weekdaysMin : '??_??_??_??_??_??_??'.split('_'), meridiem : function (hours, minutes, isLower) { if (hours > 11) { return isLower ? '??' : '??'; } else { return isLower ? '??' : '??'; } }, isPM : function (input) { return ((input + '').toLowerCase()[0] === '?'); }, meridiemParse : /[??]\.???\.?/i, longDateFormat : { 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' }, calendarEl : { sameDay : '[?????? {}] LT', nextDay : '[????? {}] LT', nextWeek : 'dddd [{}] LT', lastDay : '[???? {}] LT', lastWeek : function () { switch (this.day()) { case 6: return '[?? ???????????] dddd [{}] LT'; default: return '[??? ???????????] dddd [{}] LT'; } }, sameElse : 'L' }, calendar : function (key, mom) { var output = this._calendarEl[key], hours = mom && mom.hours(); if (isFunction(output)) { output = output.apply(mom); } return output.replace('{}', (hours % 12 === 1 ? '???' : '????')); }, relativeTime : { future : '?? %s', past : '%s ????', s : '???? ????????????', m : '??? ?????', mm : '%d ?????', h : '??? ???', hh : '%d ????', d : '??? ????', dd : '%d ?????', M : '???? ?????', MM : '%d ?????', y : '???? ??????', yy : '%d ??????' }, dayOfMonthOrdinalParse: /\d{1,2}?/, ordinal: '%d?', week : { dow : 1, // Monday is the first day of the week. doy : 4 // The week that contains Jan 4st is the first week of the year. } }); return el; })));