PHP Classes

File: CoffeeCMS/contents/themes/cfnews/assets/moment/locale/ar-sa.js

Recommend this page to a friend!
  Classes of James Brows   Coffee CMS   CoffeeCMS/contents/themes/cfnews/assets/moment/locale/ar-sa.js   Download  
File: CoffeeCMS/contents/themes/cfnews/assets/moment/locale/ar-sa.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: 2 years ago
Size: 3,165 bytes
 

Contents

Class file image Download
//! moment.js locale configuration //! locale : Arabic (Saudi Arabia) [ar-sa] //! author : Suhail Alkowaileet : https://github.com/xsoh ;(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'; var symbolMap = { '1': '?', '2': '?', '3': '?', '4': '?', '5': '?', '6': '?', '7': '?', '8': '?', '9': '?', '0': '?' }; var numberMap = { '?': '1', '?': '2', '?': '3', '?': '4', '?': '5', '?': '6', '?': '7', '?': '8', '?': '9', '?': '0' }; var arSa = moment.defineLocale('ar-sa', { months : '?????_??????_????_?????_????_?????_?????_?????_??????_??????_??????_??????'.split('_'), monthsShort : '?????_??????_????_?????_????_?????_?????_?????_??????_??????_??????_??????'.split('_'), weekdays : '?????_???????_????????_????????_??????_??????_?????'.split('_'), weekdaysShort : '???_?????_??????_??????_????_????_???'.split('_'), weekdaysMin : '?_?_?_?_?_?_?'.split('_'), weekdaysParseExact : true, longDateFormat : { LT : 'HH:mm', LTS : 'HH:mm:ss', L : 'DD/MM/YYYY', LL : 'D MMMM YYYY', LLL : 'D MMMM YYYY HH:mm', LLLL : 'dddd D MMMM YYYY HH:mm' }, meridiemParse: /?|?/, isPM : function (input) { return '?' === input; }, meridiem : function (hour, minute, isLower) { if (hour < 12) { return '?'; } else { return '?'; } }, calendar : { sameDay: '[????? ??? ??????] LT', nextDay: '[??? ??? ??????] LT', nextWeek: 'dddd [??? ??????] LT', lastDay: '[??? ??? ??????] LT', lastWeek: 'dddd [??? ??????] LT', sameElse: 'L' }, relativeTime : { future : '?? %s', past : '??? %s', s : '????', m : '?????', mm : '%d ?????', h : '????', hh : '%d ?????', d : '???', dd : '%d ????', M : '???', MM : '%d ????', y : '???', yy : '%d ?????' }, preparse: function (string) { return string.replace(/[??????????]/g, function (match) { return numberMap[match]; }).replace(/?/g, ','); }, postformat: function (string) { return string.replace(/\d/g, function (match) { return symbolMap[match]; }).replace(/,/g, '?'); }, week : { dow : 0, // Sunday is the first day of the week. doy : 6 // The week that contains Jan 1st is the first week of the year. } }); return arSa; })));