PHP Classes

File: vendors/gentelella/vendors/moment/src/locale/fa.js

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/gentelella/vendors/moment/src/locale/fa.js   Download  
File: vendors/gentelella/vendors/moment/src/locale/fa.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Gentelella BladeOne
Render templates using Bootstrap for presentation
Author: By
Last change:
Date: 3 years ago
Size: 2,983 bytes
 

Contents

Class file image Download
//! moment.js locale configuration //! locale : Persian (fa) //! author : Ebrahim Byagowi : https://github.com/ebraminio import moment from '../moment'; var symbolMap = { '1': '?', '2': '?', '3': '?', '4': '?', '5': '?', '6': '?', '7': '?', '8': '?', '9': '?', '0': '?' }, numberMap = { '?': '1', '?': '2', '?': '3', '?': '4', '?': '5', '?': '6', '?': '7', '?': '8', '?': '9', '?': '0' }; export default moment.defineLocale('fa', { months : '??????_?????_????_?????_??_????_?????_???_???????_?????_??????_??????'.split('_'), monthsShort : '??????_?????_????_?????_??_????_?????_???_???????_?????_??????_??????'.split('_'), weekdays : '??\u200c????_??????_??\u200c????_????????_???\u200c????_????_????'.split('_'), weekdaysShort : '??\u200c????_??????_??\u200c????_????????_???\u200c????_????_????'.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 /??? ?? ???/.test(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, '?'); }, ordinalParse: /\d{1,2}?/, ordinal : '%d?', week : { dow : 6, // Saturday is the first day of the week. doy : 12 // The week that contains Jan 1st is the first week of the year. } });