YANG XUEQING

提交文件

Showing 690 changed files with 4847 additions and 0 deletions
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<module type="WEB_MODULE" version="4">
3 + <component name="NewModuleRootManager">
4 + <content url="file://$MODULE_DIR$">
5 + <excludeFolder url="file://$MODULE_DIR$/.tmp" />
6 + <excludeFolder url="file://$MODULE_DIR$/temp" />
7 + <excludeFolder url="file://$MODULE_DIR$/tmp" />
8 + </content>
9 + <orderEntry type="inheritedJdk" />
10 + <orderEntry type="sourceFolder" forTests="false" />
11 + </component>
12 +</module>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<project version="4">
3 + <component name="JavaScriptSettings">
4 + <option name="languageLevel" value="ES6" />
5 + </component>
6 +</project>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<project version="4">
3 + <component name="ProjectModuleManager">
4 + <modules>
5 + <module fileurl="file://$PROJECT_DIR$/.idea/guiguyunyinyue_study.iml" filepath="$PROJECT_DIR$/.idea/guiguyunyinyue_study.iml" />
6 + </modules>
7 + </component>
8 +</project>
...\ No newline at end of file ...\ No newline at end of file
This diff is collapsed. Click to expand it.
1 +App({
2 + globalData: {
3 + isMusicPlay: false, // 是否有音乐在播放
4 + musicId: '' // 音乐id
5 + },
6 + /**
7 + * 当小程序初始化完成时,会触发 onLaunch(全局只触发一次)
8 + */
9 + onLaunch: function () {
10 +
11 + },
12 +
13 + /**
14 + * 当小程序启动,或从后台进入前台显示,会触发 onShow
15 + */
16 + onShow: function (options) {
17 +
18 + },
19 +
20 + /**
21 + * 当小程序从前台进入后台,会触发 onHide
22 + */
23 + onHide: function () {
24 +
25 + },
26 +
27 + /**
28 + * 当小程序发生脚本错误,或者 api 调用失败时,会触发 onError 并带上错误信息
29 + */
30 + onError: function (msg) {
31 +
32 + }
33 +})
1 +{
2 + "pages": [
3 + "pages/index/index",
4 + "pages/search/search",
5 + "pages/video/video",
6 + "pages/login/login",
7 + "pages/personal/personal"
8 + ],
9 + "style": "v2",
10 + "sitemapLocation": "sitemap.json",
11 + "window": {
12 + "navigationBarBackgroundColor": "#d43c33",
13 + "navigationBarTextStyle": "white",
14 + "navigationBarTitleText": "DaDa Music"
15 + },
16 + "tabBar": {
17 + "color": "#333",
18 + "selectedColor": "#d43c33",
19 + "backgroundColor": "#fff",
20 + "list": [
21 + {
22 + "pagePath": "pages/index/index",
23 + "text": "홈페이지",
24 + "iconPath": "/static/images/tabs/tab-home.png",
25 + "selectedIconPath": "/static/images/tabs/tab-home-current.png"
26 + },
27 + {
28 + "pagePath": "pages/video/video",
29 + "text": "동영상",
30 + "iconPath": "/static/images/tabs/select.png",
31 + "selectedIconPath": "/static/images/tabs/selected.png"
32 + },
33 + {
34 + "pagePath": "pages/personal/personal",
35 + "text": "개인",
36 + "iconPath": "/static/images/tabs/tab-my.png",
37 + "selectedIconPath": "/static/images/tabs/tab-my-current.png"
38 + }
39 + ]
40 + },
41 + "requiredBackgroundModes": [
42 + "audio"
43 + ],
44 + "subpackages": [
45 + {
46 + "root": "songPackage",
47 + "pages": [
48 + "pages/recommendSong/recommendSong",
49 + "pages/songDetail/songDetail"
50 + ],
51 + "independent": true
52 + },
53 + {
54 + "root": "otherPackage",
55 + "name": "other",
56 + "pages": [
57 + "pages/other/other"
58 + ]
59 + }
60 + ],
61 + "preloadRule": {
62 + "pages/index/index": {
63 + "packages": ["songPackage", "other"]
64 + }
65 + }
66 +}
1 +@import "/static/iconfont/iconfont.wxss";
2 +
3 +page {
4 + height: 100%;
5 +}
1 +// components/NavHeader/NavHeader.js
2 +Component({
3 + /**
4 + * 组件的属性列表, 由组件外部传入的数据, 等同于Vue中的props
5 + */
6 + properties: {
7 + title: {
8 + type: String,
9 + value: '我是title默认值'
10 + },
11 + nav: {
12 + type: String,
13 + value: '我是nav默认值'
14 + }
15 + },
16 +
17 + /**
18 + * 组件的初始数据
19 + */
20 + data: {
21 +
22 + },
23 +
24 + /**
25 + * 组件的方法列表
26 + */
27 + methods: {
28 +
29 + }
30 +})
1 +{
2 + "component": true,
3 + "usingComponents": {}
4 +}
...\ No newline at end of file ...\ No newline at end of file
1 +<view class="header">
2 + <text class="title">{{title}}</text>
3 + <view>
4 + <text>{{nav}}</text>
5 + <text class="more">더 보기</text>
6 + </view>
7 +</view>
1 +.header {
2 + padding-bottom: 20rpx;
3 +}
4 +.header .title {
5 + font-size: 32rpx;
6 + line-height: 80rpx;
7 + color: #666;
8 +}
9 +.header .more {
10 + float: right;
11 + border: 1rpx solid #333;
12 + padding: 10rpx 20rpx;
13 + font-size: 24rpx;
14 + border-radius: 30rpx;
15 +}
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
1 +Copyright (c) JS Foundation and other contributors
2 +
3 +Permission is hereby granted, free of charge, to any person
4 +obtaining a copy of this software and associated documentation
5 +files (the "Software"), to deal in the Software without
6 +restriction, including without limitation the rights to use,
7 +copy, modify, merge, publish, distribute, sublicense, and/or sell
8 +copies of the Software, and to permit persons to whom the
9 +Software is furnished to do so, subject to the following
10 +conditions:
11 +
12 +The above copyright notice and this permission notice shall be
13 +included in all copies or substantial portions of the Software.
14 +
15 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17 +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18 +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19 +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20 +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22 +OTHER DEALINGS IN THE SOFTWARE.
1 +# [Moment.js](http://momentjs.com/)
2 +
3 +[![NPM version][npm-version-image]][npm-url]
4 +[![NPM downloads][npm-downloads-image]][npm-downloads-url]
5 +[![MIT License][license-image]][license-url]
6 +[![Build Status][travis-image]][travis-url]
7 +[![Coverage Status][coveralls-image]][coveralls-url]
8 +[![FOSSA Status][fossa-badge-image]][fossa-badge-url]
9 +[![SemVer compatibility][semver-image]][semver-url]
10 +
11 +A JavaScript date library for parsing, validating, manipulating, and formatting dates.
12 +
13 +## Project Status
14 +
15 +Moment.js is a legacy project, now in maintenance mode. In most cases, you should choose a different library.
16 +
17 +For more details and recommendations, please see [Project Status](https://momentjs.com/docs/#/-project-status/) in the docs.
18 +
19 +*Thank you.*
20 +
21 +## Resources
22 +
23 +- [Documentation](https://momentjs.com/docs/)
24 +- [Changelog](CHANGELOG.md)
25 +- [Stack Overflow](https://stackoverflow.com/questions/tagged/momentjs)
26 +
27 +## License
28 +
29 +Moment.js is freely distributable under the terms of the [MIT license][license-url].
30 +
31 +[![FOSSA Status][fossa-large-image]][fossa-large-url]
32 +
33 +[license-image]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat
34 +[license-url]: LICENSE
35 +
36 +[npm-url]: https://npmjs.org/package/moment
37 +[npm-version-image]: https://img.shields.io/npm/v/moment.svg?style=flat
38 +
39 +[npm-downloads-image]: https://img.shields.io/npm/dm/moment.svg?style=flat
40 +[npm-downloads-url]: https://npmcharts.com/compare/moment?minimal=true
41 +
42 +[travis-url]: https://travis-ci.org/moment/moment
43 +[travis-image]: https://img.shields.io/travis/moment/moment/develop.svg?style=flat
44 +
45 +[coveralls-image]: https://coveralls.io/repos/moment/moment/badge.svg?branch=develop
46 +[coveralls-url]: https://coveralls.io/r/moment/moment?branch=develop
47 +
48 +[fossa-badge-image]: https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment.svg?type=shield
49 +[fossa-badge-url]: https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment?ref=badge_shield
50 +
51 +[fossa-large-image]: https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment.svg?type=large
52 +[fossa-large-url]: https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment?ref=badge_large
53 +
54 +[semver-image]: https://api.dependabot.com/badges/compatibility_score?dependency-name=moment&package-manager=npm_and_yarn&version-scheme=semver
55 +[semver-url]: https://dependabot.com/compatibility-score.html?dependency-name=moment&package-manager=npm_and_yarn&version-scheme=semver
1 +//! moment.js locale configuration
2 +//! locale : Afrikaans [af]
3 +//! author : Werner Mollentze : https://github.com/wernerm
4 +
5 +import moment from '../moment';
6 +
7 +export default moment.defineLocale('af', {
8 + months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split(
9 + '_'
10 + ),
11 + monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),
12 + weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split(
13 + '_'
14 + ),
15 + weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),
16 + weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),
17 + meridiemParse: /vm|nm/i,
18 + isPM: function (input) {
19 + return /^nm$/i.test(input);
20 + },
21 + meridiem: function (hours, minutes, isLower) {
22 + if (hours < 12) {
23 + return isLower ? 'vm' : 'VM';
24 + } else {
25 + return isLower ? 'nm' : 'NM';
26 + }
27 + },
28 + longDateFormat: {
29 + LT: 'HH:mm',
30 + LTS: 'HH:mm:ss',
31 + L: 'DD/MM/YYYY',
32 + LL: 'D MMMM YYYY',
33 + LLL: 'D MMMM YYYY HH:mm',
34 + LLLL: 'dddd, D MMMM YYYY HH:mm',
35 + },
36 + calendar: {
37 + sameDay: '[Vandag om] LT',
38 + nextDay: '[Môre om] LT',
39 + nextWeek: 'dddd [om] LT',
40 + lastDay: '[Gister om] LT',
41 + lastWeek: '[Laas] dddd [om] LT',
42 + sameElse: 'L',
43 + },
44 + relativeTime: {
45 + future: 'oor %s',
46 + past: '%s gelede',
47 + s: "'n paar sekondes",
48 + ss: '%d sekondes',
49 + m: "'n minuut",
50 + mm: '%d minute',
51 + h: "'n uur",
52 + hh: '%d ure',
53 + d: "'n dag",
54 + dd: '%d dae',
55 + M: "'n maand",
56 + MM: '%d maande',
57 + y: "'n jaar",
58 + yy: '%d jaar',
59 + },
60 + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
61 + ordinal: function (number) {
62 + return (
63 + number +
64 + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
65 + ); // Thanks to Joris Röling : https://github.com/jjupiter
66 + },
67 + week: {
68 + dow: 1, // Maandag is die eerste dag van die week.
69 + doy: 4, // Die week wat die 4de Januarie bevat is die eerste week van die jaar.
70 + },
71 +});
1 +//! moment.js locale configuration
2 +//! locale : Arabic (Algeria) [ar-dz]
3 +//! author : Amine Roukh: https://github.com/Amine27
4 +//! author : Abdel Said: https://github.com/abdelsaid
5 +//! author : Ahmed Elkhatib
6 +//! author : forabi https://github.com/forabi
7 +//! author : Noureddine LOUAHEDJ : https://github.com/noureddinem
8 +
9 +import moment from '../moment';
10 +
11 +var pluralForm = function (n) {
12 + return n === 0
13 + ? 0
14 + : n === 1
15 + ? 1
16 + : n === 2
17 + ? 2
18 + : n % 100 >= 3 && n % 100 <= 10
19 + ? 3
20 + : n % 100 >= 11
21 + ? 4
22 + : 5;
23 + },
24 + plurals = {
25 + s: [
26 + 'أقل من ثانية',
27 + 'ثانية واحدة',
28 + ['ثانيتان', 'ثانيتين'],
29 + '%d ثوان',
30 + '%d ثانية',
31 + '%d ثانية',
32 + ],
33 + m: [
34 + 'أقل من دقيقة',
35 + 'دقيقة واحدة',
36 + ['دقيقتان', 'دقيقتين'],
37 + '%d دقائق',
38 + '%d دقيقة',
39 + '%d دقيقة',
40 + ],
41 + h: [
42 + 'أقل من ساعة',
43 + 'ساعة واحدة',
44 + ['ساعتان', 'ساعتين'],
45 + '%d ساعات',
46 + '%d ساعة',
47 + '%d ساعة',
48 + ],
49 + d: [
50 + 'أقل من يوم',
51 + 'يوم واحد',
52 + ['يومان', 'يومين'],
53 + '%d أيام',
54 + '%d يومًا',
55 + '%d يوم',
56 + ],
57 + M: [
58 + 'أقل من شهر',
59 + 'شهر واحد',
60 + ['شهران', 'شهرين'],
61 + '%d أشهر',
62 + '%d شهرا',
63 + '%d شهر',
64 + ],
65 + y: [
66 + 'أقل من عام',
67 + 'عام واحد',
68 + ['عامان', 'عامين'],
69 + '%d أعوام',
70 + '%d عامًا',
71 + '%d عام',
72 + ],
73 + },
74 + pluralize = function (u) {
75 + return function (number, withoutSuffix, string, isFuture) {
76 + var f = pluralForm(number),
77 + str = plurals[u][pluralForm(number)];
78 + if (f === 2) {
79 + str = str[withoutSuffix ? 0 : 1];
80 + }
81 + return str.replace(/%d/i, number);
82 + };
83 + },
84 + months = [
85 + 'جانفي',
86 + 'فيفري',
87 + 'مارس',
88 + 'أفريل',
89 + 'ماي',
90 + 'جوان',
91 + 'جويلية',
92 + 'أوت',
93 + 'سبتمبر',
94 + 'أكتوبر',
95 + 'نوفمبر',
96 + 'ديسمبر',
97 + ];
98 +
99 +export default moment.defineLocale('ar-dz', {
100 + months: months,
101 + monthsShort: months,
102 + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
103 + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
104 + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
105 + weekdaysParseExact: true,
106 + longDateFormat: {
107 + LT: 'HH:mm',
108 + LTS: 'HH:mm:ss',
109 + L: 'D/\u200FM/\u200FYYYY',
110 + LL: 'D MMMM YYYY',
111 + LLL: 'D MMMM YYYY HH:mm',
112 + LLLL: 'dddd D MMMM YYYY HH:mm',
113 + },
114 + meridiemParse: /ص|م/,
115 + isPM: function (input) {
116 + return 'م' === input;
117 + },
118 + meridiem: function (hour, minute, isLower) {
119 + if (hour < 12) {
120 + return 'ص';
121 + } else {
122 + return 'م';
123 + }
124 + },
125 + calendar: {
126 + sameDay: '[اليوم عند الساعة] LT',
127 + nextDay: '[غدًا عند الساعة] LT',
128 + nextWeek: 'dddd [عند الساعة] LT',
129 + lastDay: '[أمس عند الساعة] LT',
130 + lastWeek: 'dddd [عند الساعة] LT',
131 + sameElse: 'L',
132 + },
133 + relativeTime: {
134 + future: 'بعد %s',
135 + past: 'منذ %s',
136 + s: pluralize('s'),
137 + ss: pluralize('s'),
138 + m: pluralize('m'),
139 + mm: pluralize('m'),
140 + h: pluralize('h'),
141 + hh: pluralize('h'),
142 + d: pluralize('d'),
143 + dd: pluralize('d'),
144 + M: pluralize('M'),
145 + MM: pluralize('M'),
146 + y: pluralize('y'),
147 + yy: pluralize('y'),
148 + },
149 + postformat: function (string) {
150 + return string.replace(/,/g, '،');
151 + },
152 + week: {
153 + dow: 0, // Sunday is the first day of the week.
154 + doy: 4, // The week that contains Jan 4th is the first week of the year.
155 + },
156 +});
1 +//! moment.js locale configuration
2 +//! locale : Arabic (Kuwait) [ar-kw]
3 +//! author : Nusret Parlak: https://github.com/nusretparlak
4 +
5 +import moment from '../moment';
6 +
7 +export default moment.defineLocale('ar-kw', {
8 + months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
9 + '_'
10 + ),
11 + monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
12 + '_'
13 + ),
14 + weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
15 + weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
16 + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
17 + weekdaysParseExact: true,
18 + longDateFormat: {
19 + LT: 'HH:mm',
20 + LTS: 'HH:mm:ss',
21 + L: 'DD/MM/YYYY',
22 + LL: 'D MMMM YYYY',
23 + LLL: 'D MMMM YYYY HH:mm',
24 + LLLL: 'dddd D MMMM YYYY HH:mm',
25 + },
26 + calendar: {
27 + sameDay: '[اليوم على الساعة] LT',
28 + nextDay: '[غدا على الساعة] LT',
29 + nextWeek: 'dddd [على الساعة] LT',
30 + lastDay: '[أمس على الساعة] LT',
31 + lastWeek: 'dddd [على الساعة] LT',
32 + sameElse: 'L',
33 + },
34 + relativeTime: {
35 + future: 'في %s',
36 + past: 'منذ %s',
37 + s: 'ثوان',
38 + ss: '%d ثانية',
39 + m: 'دقيقة',
40 + mm: '%d دقائق',
41 + h: 'ساعة',
42 + hh: '%d ساعات',
43 + d: 'يوم',
44 + dd: '%d أيام',
45 + M: 'شهر',
46 + MM: '%d أشهر',
47 + y: 'سنة',
48 + yy: '%d سنوات',
49 + },
50 + week: {
51 + dow: 0, // Sunday is the first day of the week.
52 + doy: 12, // The week that contains Jan 12th is the first week of the year.
53 + },
54 +});
1 +//! moment.js locale configuration
2 +//! locale : Arabic (Lybia) [ar-ly]
3 +//! author : Ali Hmer: https://github.com/kikoanis
4 +
5 +import moment from '../moment';
6 +
7 +var symbolMap = {
8 + 1: '1',
9 + 2: '2',
10 + 3: '3',
11 + 4: '4',
12 + 5: '5',
13 + 6: '6',
14 + 7: '7',
15 + 8: '8',
16 + 9: '9',
17 + 0: '0',
18 + },
19 + pluralForm = function (n) {
20 + return n === 0
21 + ? 0
22 + : n === 1
23 + ? 1
24 + : n === 2
25 + ? 2
26 + : n % 100 >= 3 && n % 100 <= 10
27 + ? 3
28 + : n % 100 >= 11
29 + ? 4
30 + : 5;
31 + },
32 + plurals = {
33 + s: [
34 + 'أقل من ثانية',
35 + 'ثانية واحدة',
36 + ['ثانيتان', 'ثانيتين'],
37 + '%d ثوان',
38 + '%d ثانية',
39 + '%d ثانية',
40 + ],
41 + m: [
42 + 'أقل من دقيقة',
43 + 'دقيقة واحدة',
44 + ['دقيقتان', 'دقيقتين'],
45 + '%d دقائق',
46 + '%d دقيقة',
47 + '%d دقيقة',
48 + ],
49 + h: [
50 + 'أقل من ساعة',
51 + 'ساعة واحدة',
52 + ['ساعتان', 'ساعتين'],
53 + '%d ساعات',
54 + '%d ساعة',
55 + '%d ساعة',
56 + ],
57 + d: [
58 + 'أقل من يوم',
59 + 'يوم واحد',
60 + ['يومان', 'يومين'],
61 + '%d أيام',
62 + '%d يومًا',
63 + '%d يوم',
64 + ],
65 + M: [
66 + 'أقل من شهر',
67 + 'شهر واحد',
68 + ['شهران', 'شهرين'],
69 + '%d أشهر',
70 + '%d شهرا',
71 + '%d شهر',
72 + ],
73 + y: [
74 + 'أقل من عام',
75 + 'عام واحد',
76 + ['عامان', 'عامين'],
77 + '%d أعوام',
78 + '%d عامًا',
79 + '%d عام',
80 + ],
81 + },
82 + pluralize = function (u) {
83 + return function (number, withoutSuffix, string, isFuture) {
84 + var f = pluralForm(number),
85 + str = plurals[u][pluralForm(number)];
86 + if (f === 2) {
87 + str = str[withoutSuffix ? 0 : 1];
88 + }
89 + return str.replace(/%d/i, number);
90 + };
91 + },
92 + months = [
93 + 'يناير',
94 + 'فبراير',
95 + 'مارس',
96 + 'أبريل',
97 + 'مايو',
98 + 'يونيو',
99 + 'يوليو',
100 + 'أغسطس',
101 + 'سبتمبر',
102 + 'أكتوبر',
103 + 'نوفمبر',
104 + 'ديسمبر',
105 + ];
106 +
107 +export default moment.defineLocale('ar-ly', {
108 + months: months,
109 + monthsShort: months,
110 + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
111 + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
112 + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
113 + weekdaysParseExact: true,
114 + longDateFormat: {
115 + LT: 'HH:mm',
116 + LTS: 'HH:mm:ss',
117 + L: 'D/\u200FM/\u200FYYYY',
118 + LL: 'D MMMM YYYY',
119 + LLL: 'D MMMM YYYY HH:mm',
120 + LLLL: 'dddd D MMMM YYYY HH:mm',
121 + },
122 + meridiemParse: /ص|م/,
123 + isPM: function (input) {
124 + return 'م' === input;
125 + },
126 + meridiem: function (hour, minute, isLower) {
127 + if (hour < 12) {
128 + return 'ص';
129 + } else {
130 + return 'م';
131 + }
132 + },
133 + calendar: {
134 + sameDay: '[اليوم عند الساعة] LT',
135 + nextDay: '[غدًا عند الساعة] LT',
136 + nextWeek: 'dddd [عند الساعة] LT',
137 + lastDay: '[أمس عند الساعة] LT',
138 + lastWeek: 'dddd [عند الساعة] LT',
139 + sameElse: 'L',
140 + },
141 + relativeTime: {
142 + future: 'بعد %s',
143 + past: 'منذ %s',
144 + s: pluralize('s'),
145 + ss: pluralize('s'),
146 + m: pluralize('m'),
147 + mm: pluralize('m'),
148 + h: pluralize('h'),
149 + hh: pluralize('h'),
150 + d: pluralize('d'),
151 + dd: pluralize('d'),
152 + M: pluralize('M'),
153 + MM: pluralize('M'),
154 + y: pluralize('y'),
155 + yy: pluralize('y'),
156 + },
157 + preparse: function (string) {
158 + return string.replace(/،/g, ',');
159 + },
160 + postformat: function (string) {
161 + return string
162 + .replace(/\d/g, function (match) {
163 + return symbolMap[match];
164 + })
165 + .replace(/,/g, '،');
166 + },
167 + week: {
168 + dow: 6, // Saturday is the first day of the week.
169 + doy: 12, // The week that contains Jan 12th is the first week of the year.
170 + },
171 +});
1 +//! moment.js locale configuration
2 +//! locale : Arabic (Morocco) [ar-ma]
3 +//! author : ElFadili Yassine : https://github.com/ElFadiliY
4 +//! author : Abdel Said : https://github.com/abdelsaid
5 +
6 +import moment from '../moment';
7 +
8 +export default moment.defineLocale('ar-ma', {
9 + months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
10 + '_'
11 + ),
12 + monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
13 + '_'
14 + ),
15 + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
16 + weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
17 + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
18 + weekdaysParseExact: true,
19 + longDateFormat: {
20 + LT: 'HH:mm',
21 + LTS: 'HH:mm:ss',
22 + L: 'DD/MM/YYYY',
23 + LL: 'D MMMM YYYY',
24 + LLL: 'D MMMM YYYY HH:mm',
25 + LLLL: 'dddd D MMMM YYYY HH:mm',
26 + },
27 + calendar: {
28 + sameDay: '[اليوم على الساعة] LT',
29 + nextDay: '[غدا على الساعة] LT',
30 + nextWeek: 'dddd [على الساعة] LT',
31 + lastDay: '[أمس على الساعة] LT',
32 + lastWeek: 'dddd [على الساعة] LT',
33 + sameElse: 'L',
34 + },
35 + relativeTime: {
36 + future: 'في %s',
37 + past: 'منذ %s',
38 + s: 'ثوان',
39 + ss: '%d ثانية',
40 + m: 'دقيقة',
41 + mm: '%d دقائق',
42 + h: 'ساعة',
43 + hh: '%d ساعات',
44 + d: 'يوم',
45 + dd: '%d أيام',
46 + M: 'شهر',
47 + MM: '%d أشهر',
48 + y: 'سنة',
49 + yy: '%d سنوات',
50 + },
51 + week: {
52 + dow: 1, // Monday is the first day of the week.
53 + doy: 4, // The week that contains Jan 4th is the first week of the year.
54 + },
55 +});
1 +//! moment.js locale configuration
2 +//! locale : Arabic (Saudi Arabia) [ar-sa]
3 +//! author : Suhail Alkowaileet : https://github.com/xsoh
4 +
5 +import moment from '../moment';
6 +
7 +var symbolMap = {
8 + 1: '١',
9 + 2: '٢',
10 + 3: '٣',
11 + 4: '٤',
12 + 5: '٥',
13 + 6: '٦',
14 + 7: '٧',
15 + 8: '٨',
16 + 9: '٩',
17 + 0: '٠',
18 + },
19 + numberMap = {
20 + '١': '1',
21 + '٢': '2',
22 + '٣': '3',
23 + '٤': '4',
24 + '٥': '5',
25 + '٦': '6',
26 + '٧': '7',
27 + '٨': '8',
28 + '٩': '9',
29 + '٠': '0',
30 + };
31 +
32 +export default moment.defineLocale('ar-sa', {
33 + months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
34 + '_'
35 + ),
36 + monthsShort: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
37 + '_'
38 + ),
39 + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
40 + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
41 + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
42 + weekdaysParseExact: true,
43 + longDateFormat: {
44 + LT: 'HH:mm',
45 + LTS: 'HH:mm:ss',
46 + L: 'DD/MM/YYYY',
47 + LL: 'D MMMM YYYY',
48 + LLL: 'D MMMM YYYY HH:mm',
49 + LLLL: 'dddd D MMMM YYYY HH:mm',
50 + },
51 + meridiemParse: /ص|م/,
52 + isPM: function (input) {
53 + return 'م' === input;
54 + },
55 + meridiem: function (hour, minute, isLower) {
56 + if (hour < 12) {
57 + return 'ص';
58 + } else {
59 + return 'م';
60 + }
61 + },
62 + calendar: {
63 + sameDay: '[اليوم على الساعة] LT',
64 + nextDay: '[غدا على الساعة] LT',
65 + nextWeek: 'dddd [على الساعة] LT',
66 + lastDay: '[أمس على الساعة] LT',
67 + lastWeek: 'dddd [على الساعة] LT',
68 + sameElse: 'L',
69 + },
70 + relativeTime: {
71 + future: 'في %s',
72 + past: 'منذ %s',
73 + s: 'ثوان',
74 + ss: '%d ثانية',
75 + m: 'دقيقة',
76 + mm: '%d دقائق',
77 + h: 'ساعة',
78 + hh: '%d ساعات',
79 + d: 'يوم',
80 + dd: '%d أيام',
81 + M: 'شهر',
82 + MM: '%d أشهر',
83 + y: 'سنة',
84 + yy: '%d سنوات',
85 + },
86 + preparse: function (string) {
87 + return string
88 + .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
89 + return numberMap[match];
90 + })
91 + .replace(/،/g, ',');
92 + },
93 + postformat: function (string) {
94 + return string
95 + .replace(/\d/g, function (match) {
96 + return symbolMap[match];
97 + })
98 + .replace(/,/g, '،');
99 + },
100 + week: {
101 + dow: 0, // Sunday is the first day of the week.
102 + doy: 6, // The week that contains Jan 6th is the first week of the year.
103 + },
104 +});
1 +//! moment.js locale configuration
2 +//! locale : Arabic (Tunisia) [ar-tn]
3 +//! author : Nader Toukabri : https://github.com/naderio
4 +
5 +import moment from '../moment';
6 +
7 +export default moment.defineLocale('ar-tn', {
8 + months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
9 + '_'
10 + ),
11 + monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
12 + '_'
13 + ),
14 + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
15 + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
16 + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
17 + weekdaysParseExact: true,
18 + longDateFormat: {
19 + LT: 'HH:mm',
20 + LTS: 'HH:mm:ss',
21 + L: 'DD/MM/YYYY',
22 + LL: 'D MMMM YYYY',
23 + LLL: 'D MMMM YYYY HH:mm',
24 + LLLL: 'dddd D MMMM YYYY HH:mm',
25 + },
26 + calendar: {
27 + sameDay: '[اليوم على الساعة] LT',
28 + nextDay: '[غدا على الساعة] LT',
29 + nextWeek: 'dddd [على الساعة] LT',
30 + lastDay: '[أمس على الساعة] LT',
31 + lastWeek: 'dddd [على الساعة] LT',
32 + sameElse: 'L',
33 + },
34 + relativeTime: {
35 + future: 'في %s',
36 + past: 'منذ %s',
37 + s: 'ثوان',
38 + ss: '%d ثانية',
39 + m: 'دقيقة',
40 + mm: '%d دقائق',
41 + h: 'ساعة',
42 + hh: '%d ساعات',
43 + d: 'يوم',
44 + dd: '%d أيام',
45 + M: 'شهر',
46 + MM: '%d أشهر',
47 + y: 'سنة',
48 + yy: '%d سنوات',
49 + },
50 + week: {
51 + dow: 1, // Monday is the first day of the week.
52 + doy: 4, // The week that contains Jan 4th is the first week of the year.
53 + },
54 +});
1 +//! moment.js locale configuration
2 +//! locale : Arabic [ar]
3 +//! author : Abdel Said: https://github.com/abdelsaid
4 +//! author : Ahmed Elkhatib
5 +//! author : forabi https://github.com/forabi
6 +
7 +import moment from '../moment';
8 +
9 +var symbolMap = {
10 + 1: '١',
11 + 2: '٢',
12 + 3: '٣',
13 + 4: '٤',
14 + 5: '٥',
15 + 6: '٦',
16 + 7: '٧',
17 + 8: '٨',
18 + 9: '٩',
19 + 0: '٠',
20 + },
21 + numberMap = {
22 + '١': '1',
23 + '٢': '2',
24 + '٣': '3',
25 + '٤': '4',
26 + '٥': '5',
27 + '٦': '6',
28 + '٧': '7',
29 + '٨': '8',
30 + '٩': '9',
31 + '٠': '0',
32 + },
33 + pluralForm = function (n) {
34 + return n === 0
35 + ? 0
36 + : n === 1
37 + ? 1
38 + : n === 2
39 + ? 2
40 + : n % 100 >= 3 && n % 100 <= 10
41 + ? 3
42 + : n % 100 >= 11
43 + ? 4
44 + : 5;
45 + },
46 + plurals = {
47 + s: [
48 + 'أقل من ثانية',
49 + 'ثانية واحدة',
50 + ['ثانيتان', 'ثانيتين'],
51 + '%d ثوان',
52 + '%d ثانية',
53 + '%d ثانية',
54 + ],
55 + m: [
56 + 'أقل من دقيقة',
57 + 'دقيقة واحدة',
58 + ['دقيقتان', 'دقيقتين'],
59 + '%d دقائق',
60 + '%d دقيقة',
61 + '%d دقيقة',
62 + ],
63 + h: [
64 + 'أقل من ساعة',
65 + 'ساعة واحدة',
66 + ['ساعتان', 'ساعتين'],
67 + '%d ساعات',
68 + '%d ساعة',
69 + '%d ساعة',
70 + ],
71 + d: [
72 + 'أقل من يوم',
73 + 'يوم واحد',
74 + ['يومان', 'يومين'],
75 + '%d أيام',
76 + '%d يومًا',
77 + '%d يوم',
78 + ],
79 + M: [
80 + 'أقل من شهر',
81 + 'شهر واحد',
82 + ['شهران', 'شهرين'],
83 + '%d أشهر',
84 + '%d شهرا',
85 + '%d شهر',
86 + ],
87 + y: [
88 + 'أقل من عام',
89 + 'عام واحد',
90 + ['عامان', 'عامين'],
91 + '%d أعوام',
92 + '%d عامًا',
93 + '%d عام',
94 + ],
95 + },
96 + pluralize = function (u) {
97 + return function (number, withoutSuffix, string, isFuture) {
98 + var f = pluralForm(number),
99 + str = plurals[u][pluralForm(number)];
100 + if (f === 2) {
101 + str = str[withoutSuffix ? 0 : 1];
102 + }
103 + return str.replace(/%d/i, number);
104 + };
105 + },
106 + months = [
107 + 'يناير',
108 + 'فبراير',
109 + 'مارس',
110 + 'أبريل',
111 + 'مايو',
112 + 'يونيو',
113 + 'يوليو',
114 + 'أغسطس',
115 + 'سبتمبر',
116 + 'أكتوبر',
117 + 'نوفمبر',
118 + 'ديسمبر',
119 + ];
120 +
121 +export default moment.defineLocale('ar', {
122 + months: months,
123 + monthsShort: months,
124 + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
125 + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
126 + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
127 + weekdaysParseExact: true,
128 + longDateFormat: {
129 + LT: 'HH:mm',
130 + LTS: 'HH:mm:ss',
131 + L: 'D/\u200FM/\u200FYYYY',
132 + LL: 'D MMMM YYYY',
133 + LLL: 'D MMMM YYYY HH:mm',
134 + LLLL: 'dddd D MMMM YYYY HH:mm',
135 + },
136 + meridiemParse: /ص|م/,
137 + isPM: function (input) {
138 + return 'م' === input;
139 + },
140 + meridiem: function (hour, minute, isLower) {
141 + if (hour < 12) {
142 + return 'ص';
143 + } else {
144 + return 'م';
145 + }
146 + },
147 + calendar: {
148 + sameDay: '[اليوم عند الساعة] LT',
149 + nextDay: '[غدًا عند الساعة] LT',
150 + nextWeek: 'dddd [عند الساعة] LT',
151 + lastDay: '[أمس عند الساعة] LT',
152 + lastWeek: 'dddd [عند الساعة] LT',
153 + sameElse: 'L',
154 + },
155 + relativeTime: {
156 + future: 'بعد %s',
157 + past: 'منذ %s',
158 + s: pluralize('s'),
159 + ss: pluralize('s'),
160 + m: pluralize('m'),
161 + mm: pluralize('m'),
162 + h: pluralize('h'),
163 + hh: pluralize('h'),
164 + d: pluralize('d'),
165 + dd: pluralize('d'),
166 + M: pluralize('M'),
167 + MM: pluralize('M'),
168 + y: pluralize('y'),
169 + yy: pluralize('y'),
170 + },
171 + preparse: function (string) {
172 + return string
173 + .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
174 + return numberMap[match];
175 + })
176 + .replace(/،/g, ',');
177 + },
178 + postformat: function (string) {
179 + return string
180 + .replace(/\d/g, function (match) {
181 + return symbolMap[match];
182 + })
183 + .replace(/,/g, '،');
184 + },
185 + week: {
186 + dow: 6, // Saturday is the first day of the week.
187 + doy: 12, // The week that contains Jan 12th is the first week of the year.
188 + },
189 +});
1 +//! moment.js locale configuration
2 +//! locale : Azerbaijani [az]
3 +//! author : topchiyev : https://github.com/topchiyev
4 +
5 +import moment from '../moment';
6 +
7 +var suffixes = {
8 + 1: '-inci',
9 + 5: '-inci',
10 + 8: '-inci',
11 + 70: '-inci',
12 + 80: '-inci',
13 + 2: '-nci',
14 + 7: '-nci',
15 + 20: '-nci',
16 + 50: '-nci',
17 + 3: '-üncü',
18 + 4: '-üncü',
19 + 100: '-üncü',
20 + 6: '-ncı',
21 + 9: '-uncu',
22 + 10: '-uncu',
23 + 30: '-uncu',
24 + 60: '-ıncı',
25 + 90: '-ıncı',
26 +};
27 +
28 +export default moment.defineLocale('az', {
29 + months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split(
30 + '_'
31 + ),
32 + monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),
33 + weekdays: 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split(
34 + '_'
35 + ),
36 + weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),
37 + weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),
38 + weekdaysParseExact: true,
39 + longDateFormat: {
40 + LT: 'HH:mm',
41 + LTS: 'HH:mm:ss',
42 + L: 'DD.MM.YYYY',
43 + LL: 'D MMMM YYYY',
44 + LLL: 'D MMMM YYYY HH:mm',
45 + LLLL: 'dddd, D MMMM YYYY HH:mm',
46 + },
47 + calendar: {
48 + sameDay: '[bugün saat] LT',
49 + nextDay: '[sabah saat] LT',
50 + nextWeek: '[gələn həftə] dddd [saat] LT',
51 + lastDay: '[dünən] LT',
52 + lastWeek: '[keçən həftə] dddd [saat] LT',
53 + sameElse: 'L',
54 + },
55 + relativeTime: {
56 + future: '%s sonra',
57 + past: '%s əvvəl',
58 + s: 'bir neçə saniyə',
59 + ss: '%d saniyə',
60 + m: 'bir dəqiqə',
61 + mm: '%d dəqiqə',
62 + h: 'bir saat',
63 + hh: '%d saat',
64 + d: 'bir gün',
65 + dd: '%d gün',
66 + M: 'bir ay',
67 + MM: '%d ay',
68 + y: 'bir il',
69 + yy: '%d il',
70 + },
71 + meridiemParse: /gecə|səhər|gündüz|axşam/,
72 + isPM: function (input) {
73 + return /^(gündüz|axşam)$/.test(input);
74 + },
75 + meridiem: function (hour, minute, isLower) {
76 + if (hour < 4) {
77 + return 'gecə';
78 + } else if (hour < 12) {
79 + return 'səhər';
80 + } else if (hour < 17) {
81 + return 'gündüz';
82 + } else {
83 + return 'axşam';
84 + }
85 + },
86 + dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
87 + ordinal: function (number) {
88 + if (number === 0) {
89 + // special case for zero
90 + return number + '-ıncı';
91 + }
92 + var a = number % 10,
93 + b = (number % 100) - a,
94 + c = number >= 100 ? 100 : null;
95 + return number + (suffixes[a] || suffixes[b] || suffixes[c]);
96 + },
97 + week: {
98 + dow: 1, // Monday is the first day of the week.
99 + doy: 7, // The week that contains Jan 7th is the first week of the year.
100 + },
101 +});
1 +//! moment.js locale configuration
2 +//! locale : Belarusian [be]
3 +//! author : Dmitry Demidov : https://github.com/demidov91
4 +//! author: Praleska: http://praleska.pro/
5 +//! Author : Menelion Elensúle : https://github.com/Oire
6 +
7 +import moment from '../moment';
8 +
9 +function plural(word, num) {
10 + var forms = word.split('_');
11 + return num % 10 === 1 && num % 100 !== 11
12 + ? forms[0]
13 + : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
14 + ? forms[1]
15 + : forms[2];
16 +}
17 +function relativeTimeWithPlural(number, withoutSuffix, key) {
18 + var format = {
19 + ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
20 + mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',
21 + hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',
22 + dd: 'дзень_дні_дзён',
23 + MM: 'месяц_месяцы_месяцаў',
24 + yy: 'год_гады_гадоў',
25 + };
26 + if (key === 'm') {
27 + return withoutSuffix ? 'хвіліна' : 'хвіліну';
28 + } else if (key === 'h') {
29 + return withoutSuffix ? 'гадзіна' : 'гадзіну';
30 + } else {
31 + return number + ' ' + plural(format[key], +number);
32 + }
33 +}
34 +
35 +export default moment.defineLocale('be', {
36 + months: {
37 + format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split(
38 + '_'
39 + ),
40 + standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split(
41 + '_'
42 + ),
43 + },
44 + monthsShort: 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split(
45 + '_'
46 + ),
47 + weekdays: {
48 + format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split(
49 + '_'
50 + ),
51 + standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split(
52 + '_'
53 + ),
54 + isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/,
55 + },
56 + weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
57 + weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
58 + longDateFormat: {
59 + LT: 'HH:mm',
60 + LTS: 'HH:mm:ss',
61 + L: 'DD.MM.YYYY',
62 + LL: 'D MMMM YYYY г.',
63 + LLL: 'D MMMM YYYY г., HH:mm',
64 + LLLL: 'dddd, D MMMM YYYY г., HH:mm',
65 + },
66 + calendar: {
67 + sameDay: '[Сёння ў] LT',
68 + nextDay: '[Заўтра ў] LT',
69 + lastDay: '[Учора ў] LT',
70 + nextWeek: function () {
71 + return '[У] dddd [ў] LT';
72 + },
73 + lastWeek: function () {
74 + switch (this.day()) {
75 + case 0:
76 + case 3:
77 + case 5:
78 + case 6:
79 + return '[У мінулую] dddd [ў] LT';
80 + case 1:
81 + case 2:
82 + case 4:
83 + return '[У мінулы] dddd [ў] LT';
84 + }
85 + },
86 + sameElse: 'L',
87 + },
88 + relativeTime: {
89 + future: 'праз %s',
90 + past: '%s таму',
91 + s: 'некалькі секунд',
92 + m: relativeTimeWithPlural,
93 + mm: relativeTimeWithPlural,
94 + h: relativeTimeWithPlural,
95 + hh: relativeTimeWithPlural,
96 + d: 'дзень',
97 + dd: relativeTimeWithPlural,
98 + M: 'месяц',
99 + MM: relativeTimeWithPlural,
100 + y: 'год',
101 + yy: relativeTimeWithPlural,
102 + },
103 + meridiemParse: /ночы|раніцы|дня|вечара/,
104 + isPM: function (input) {
105 + return /^(дня|вечара)$/.test(input);
106 + },
107 + meridiem: function (hour, minute, isLower) {
108 + if (hour < 4) {
109 + return 'ночы';
110 + } else if (hour < 12) {
111 + return 'раніцы';
112 + } else if (hour < 17) {
113 + return 'дня';
114 + } else {
115 + return 'вечара';
116 + }
117 + },
118 + dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/,
119 + ordinal: function (number, period) {
120 + switch (period) {
121 + case 'M':
122 + case 'd':
123 + case 'DDD':
124 + case 'w':
125 + case 'W':
126 + return (number % 10 === 2 || number % 10 === 3) &&
127 + number % 100 !== 12 &&
128 + number % 100 !== 13
129 + ? number + '-і'
130 + : number + '-ы';
131 + case 'D':
132 + return number + '-га';
133 + default:
134 + return number;
135 + }
136 + },
137 + week: {
138 + dow: 1, // Monday is the first day of the week.
139 + doy: 7, // The week that contains Jan 7th is the first week of the year.
140 + },
141 +});
1 +//! moment.js locale configuration
2 +//! locale : Bulgarian [bg]
3 +//! author : Krasen Borisov : https://github.com/kraz
4 +
5 +import moment from '../moment';
6 +
7 +export default moment.defineLocale('bg', {
8 + months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split(
9 + '_'
10 + ),
11 + monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),
12 + weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split(
13 + '_'
14 + ),
15 + weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'),
16 + weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
17 + longDateFormat: {
18 + LT: 'H:mm',
19 + LTS: 'H:mm:ss',
20 + L: 'D.MM.YYYY',
21 + LL: 'D MMMM YYYY',
22 + LLL: 'D MMMM YYYY H:mm',
23 + LLLL: 'dddd, D MMMM YYYY H:mm',
24 + },
25 + calendar: {
26 + sameDay: '[Днес в] LT',
27 + nextDay: '[Утре в] LT',
28 + nextWeek: 'dddd [в] LT',
29 + lastDay: '[Вчера в] LT',
30 + lastWeek: function () {
31 + switch (this.day()) {
32 + case 0:
33 + case 3:
34 + case 6:
35 + return '[Миналата] dddd [в] LT';
36 + case 1:
37 + case 2:
38 + case 4:
39 + case 5:
40 + return '[Миналия] dddd [в] LT';
41 + }
42 + },
43 + sameElse: 'L',
44 + },
45 + relativeTime: {
46 + future: 'след %s',
47 + past: 'преди %s',
48 + s: 'няколко секунди',
49 + ss: '%d секунди',
50 + m: 'минута',
51 + mm: '%d минути',
52 + h: 'час',
53 + hh: '%d часа',
54 + d: 'ден',
55 + dd: '%d дена',
56 + w: 'седмица',
57 + ww: '%d седмици',
58 + M: 'месец',
59 + MM: '%d месеца',
60 + y: 'година',
61 + yy: '%d години',
62 + },
63 + dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
64 + ordinal: function (number) {
65 + var lastDigit = number % 10,
66 + last2Digits = number % 100;
67 + if (number === 0) {
68 + return number + '-ев';
69 + } else if (last2Digits === 0) {
70 + return number + '-ен';
71 + } else if (last2Digits > 10 && last2Digits < 20) {
72 + return number + '-ти';
73 + } else if (lastDigit === 1) {
74 + return number + '-ви';
75 + } else if (lastDigit === 2) {
76 + return number + '-ри';
77 + } else if (lastDigit === 7 || lastDigit === 8) {
78 + return number + '-ми';
79 + } else {
80 + return number + '-ти';
81 + }
82 + },
83 + week: {
84 + dow: 1, // Monday is the first day of the week.
85 + doy: 7, // The week that contains Jan 7th is the first week of the year.
86 + },
87 +});
1 +//! moment.js locale configuration
2 +//! locale : Bambara [bm]
3 +//! author : Estelle Comment : https://github.com/estellecomment
4 +// Language contact person : Abdoufata Kane : https://github.com/abdoufata
5 +
6 +import moment from '../moment';
7 +
8 +export default moment.defineLocale('bm', {
9 + months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split(
10 + '_'
11 + ),
12 + monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'),
13 + weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'),
14 + weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'),
15 + weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'),
16 + longDateFormat: {
17 + LT: 'HH:mm',
18 + LTS: 'HH:mm:ss',
19 + L: 'DD/MM/YYYY',
20 + LL: 'MMMM [tile] D [san] YYYY',
21 + LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
22 + LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
23 + },
24 + calendar: {
25 + sameDay: '[Bi lɛrɛ] LT',
26 + nextDay: '[Sini lɛrɛ] LT',
27 + nextWeek: 'dddd [don lɛrɛ] LT',
28 + lastDay: '[Kunu lɛrɛ] LT',
29 + lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT',
30 + sameElse: 'L',
31 + },
32 + relativeTime: {
33 + future: '%s kɔnɔ',
34 + past: 'a bɛ %s bɔ',
35 + s: 'sanga dama dama',
36 + ss: 'sekondi %d',
37 + m: 'miniti kelen',
38 + mm: 'miniti %d',
39 + h: 'lɛrɛ kelen',
40 + hh: 'lɛrɛ %d',
41 + d: 'tile kelen',
42 + dd: 'tile %d',
43 + M: 'kalo kelen',
44 + MM: 'kalo %d',
45 + y: 'san kelen',
46 + yy: 'san %d',
47 + },
48 + week: {
49 + dow: 1, // Monday is the first day of the week.
50 + doy: 4, // The week that contains Jan 4th is the first week of the year.
51 + },
52 +});
1 +//! moment.js locale configuration
2 +//! locale : Bengali (Bangladesh) [bn-bd]
3 +//! author : Asraf Hossain Patoary : https://github.com/ashwoolford
4 +
5 +import moment from '../moment';
6 +
7 +var symbolMap = {
8 + 1: '১',
9 + 2: '২',
10 + 3: '৩',
11 + 4: '৪',
12 + 5: '৫',
13 + 6: '৬',
14 + 7: '৭',
15 + 8: '৮',
16 + 9: '৯',
17 + 0: '০',
18 + },
19 + numberMap = {
20 + '১': '1',
21 + '২': '2',
22 + '৩': '3',
23 + '৪': '4',
24 + '৫': '5',
25 + '৬': '6',
26 + '৭': '7',
27 + '৮': '8',
28 + '৯': '9',
29 + '০': '0',
30 + };
31 +
32 +export default moment.defineLocale('bn-bd', {
33 + months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split(
34 + '_'
35 + ),
36 + monthsShort: 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split(
37 + '_'
38 + ),
39 + weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split(
40 + '_'
41 + ),
42 + weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),
43 + weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),
44 + longDateFormat: {
45 + LT: 'A h:mm সময়',
46 + LTS: 'A h:mm:ss সময়',
47 + L: 'DD/MM/YYYY',
48 + LL: 'D MMMM YYYY',
49 + LLL: 'D MMMM YYYY, A h:mm সময়',
50 + LLLL: 'dddd, D MMMM YYYY, A h:mm সময়',
51 + },
52 + calendar: {
53 + sameDay: '[আজ] LT',
54 + nextDay: '[আগামীকাল] LT',
55 + nextWeek: 'dddd, LT',
56 + lastDay: '[গতকাল] LT',
57 + lastWeek: '[গত] dddd, LT',
58 + sameElse: 'L',
59 + },
60 + relativeTime: {
61 + future: '%s পরে',
62 + past: '%s আগে',
63 + s: 'কয়েক সেকেন্ড',
64 + ss: '%d সেকেন্ড',
65 + m: 'এক মিনিট',
66 + mm: '%d মিনিট',
67 + h: 'এক ঘন্টা',
68 + hh: '%d ঘন্টা',
69 + d: 'এক দিন',
70 + dd: '%d দিন',
71 + M: 'এক মাস',
72 + MM: '%d মাস',
73 + y: 'এক বছর',
74 + yy: '%d বছর',
75 + },
76 + preparse: function (string) {
77 + return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
78 + return numberMap[match];
79 + });
80 + },
81 + postformat: function (string) {
82 + return string.replace(/\d/g, function (match) {
83 + return symbolMap[match];
84 + });
85 + },
86 +
87 + meridiemParse: /রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,
88 + meridiemHour: function (hour, meridiem) {
89 + if (hour === 12) {
90 + hour = 0;
91 + }
92 + if (meridiem === 'রাত') {
93 + return hour < 4 ? hour : hour + 12;
94 + } else if (meridiem === 'ভোর') {
95 + return hour;
96 + } else if (meridiem === 'সকাল') {
97 + return hour;
98 + } else if (meridiem === 'দুপুর') {
99 + return hour >= 3 ? hour : hour + 12;
100 + } else if (meridiem === 'বিকাল') {
101 + return hour + 12;
102 + } else if (meridiem === 'সন্ধ্যা') {
103 + return hour + 12;
104 + }
105 + },
106 +
107 + meridiem: function (hour, minute, isLower) {
108 + if (hour < 4) {
109 + return 'রাত';
110 + } else if (hour < 6) {
111 + return 'ভোর';
112 + } else if (hour < 12) {
113 + return 'সকাল';
114 + } else if (hour < 15) {
115 + return 'দুপুর';
116 + } else if (hour < 18) {
117 + return 'বিকাল';
118 + } else if (hour < 20) {
119 + return 'সন্ধ্যা';
120 + } else {
121 + return 'রাত';
122 + }
123 + },
124 + week: {
125 + dow: 0, // Sunday is the first day of the week.
126 + doy: 6, // The week that contains Jan 6th is the first week of the year.
127 + },
128 +});
1 +//! moment.js locale configuration
2 +//! locale : Bengali [bn]
3 +//! author : Kaushik Gandhi : https://github.com/kaushikgandhi
4 +
5 +import moment from '../moment';
6 +
7 +var symbolMap = {
8 + 1: '১',
9 + 2: '২',
10 + 3: '৩',
11 + 4: '৪',
12 + 5: '৫',
13 + 6: '৬',
14 + 7: '৭',
15 + 8: '৮',
16 + 9: '৯',
17 + 0: '০',
18 + },
19 + numberMap = {
20 + '১': '1',
21 + '২': '2',
22 + '৩': '3',
23 + '৪': '4',
24 + '৫': '5',
25 + '৬': '6',
26 + '৭': '7',
27 + '৮': '8',
28 + '৯': '9',
29 + '০': '0',
30 + };
31 +
32 +export default moment.defineLocale('bn', {
33 + months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split(
34 + '_'
35 + ),
36 + monthsShort: 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split(
37 + '_'
38 + ),
39 + weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split(
40 + '_'
41 + ),
42 + weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),
43 + weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),
44 + longDateFormat: {
45 + LT: 'A h:mm সময়',
46 + LTS: 'A h:mm:ss সময়',
47 + L: 'DD/MM/YYYY',
48 + LL: 'D MMMM YYYY',
49 + LLL: 'D MMMM YYYY, A h:mm সময়',
50 + LLLL: 'dddd, D MMMM YYYY, A h:mm সময়',
51 + },
52 + calendar: {
53 + sameDay: '[আজ] LT',
54 + nextDay: '[আগামীকাল] LT',
55 + nextWeek: 'dddd, LT',
56 + lastDay: '[গতকাল] LT',
57 + lastWeek: '[গত] dddd, LT',
58 + sameElse: 'L',
59 + },
60 + relativeTime: {
61 + future: '%s পরে',
62 + past: '%s আগে',
63 + s: 'কয়েক সেকেন্ড',
64 + ss: '%d সেকেন্ড',
65 + m: 'এক মিনিট',
66 + mm: '%d মিনিট',
67 + h: 'এক ঘন্টা',
68 + hh: '%d ঘন্টা',
69 + d: 'এক দিন',
70 + dd: '%d দিন',
71 + M: 'এক মাস',
72 + MM: '%d মাস',
73 + y: 'এক বছর',
74 + yy: '%d বছর',
75 + },
76 + preparse: function (string) {
77 + return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
78 + return numberMap[match];
79 + });
80 + },
81 + postformat: function (string) {
82 + return string.replace(/\d/g, function (match) {
83 + return symbolMap[match];
84 + });
85 + },
86 + meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,
87 + meridiemHour: function (hour, meridiem) {
88 + if (hour === 12) {
89 + hour = 0;
90 + }
91 + if (
92 + (meridiem === 'রাত' && hour >= 4) ||
93 + (meridiem === 'দুপুর' && hour < 5) ||
94 + meridiem === 'বিকাল'
95 + ) {
96 + return hour + 12;
97 + } else {
98 + return hour;
99 + }
100 + },
101 + meridiem: function (hour, minute, isLower) {
102 + if (hour < 4) {
103 + return 'রাত';
104 + } else if (hour < 10) {
105 + return 'সকাল';
106 + } else if (hour < 17) {
107 + return 'দুপুর';
108 + } else if (hour < 20) {
109 + return 'বিকাল';
110 + } else {
111 + return 'রাত';
112 + }
113 + },
114 + week: {
115 + dow: 0, // Sunday is the first day of the week.
116 + doy: 6, // The week that contains Jan 6th is the first week of the year.
117 + },
118 +});
1 +//! moment.js locale configuration
2 +//! locale : Tibetan [bo]
3 +//! author : Thupten N. Chakrishar : https://github.com/vajradog
4 +
5 +import moment from '../moment';
6 +
7 +var symbolMap = {
8 + 1: '༡',
9 + 2: '༢',
10 + 3: '༣',
11 + 4: '༤',
12 + 5: '༥',
13 + 6: '༦',
14 + 7: '༧',
15 + 8: '༨',
16 + 9: '༩',
17 + 0: '༠',
18 + },
19 + numberMap = {
20 + '༡': '1',
21 + '༢': '2',
22 + '༣': '3',
23 + '༤': '4',
24 + '༥': '5',
25 + '༦': '6',
26 + '༧': '7',
27 + '༨': '8',
28 + '༩': '9',
29 + '༠': '0',
30 + };
31 +
32 +export default moment.defineLocale('bo', {
33 + months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split(
34 + '_'
35 + ),
36 + monthsShort: 'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split(
37 + '_'
38 + ),
39 + monthsShortRegex: /^(ཟླ་\d{1,2})/,
40 + monthsParseExact: true,
41 + weekdays: 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split(
42 + '_'
43 + ),
44 + weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split(
45 + '_'
46 + ),
47 + weekdaysMin: 'ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན'.split('_'),
48 + longDateFormat: {
49 + LT: 'A h:mm',
50 + LTS: 'A h:mm:ss',
51 + L: 'DD/MM/YYYY',
52 + LL: 'D MMMM YYYY',
53 + LLL: 'D MMMM YYYY, A h:mm',
54 + LLLL: 'dddd, D MMMM YYYY, A h:mm',
55 + },
56 + calendar: {
57 + sameDay: '[དི་རིང] LT',
58 + nextDay: '[སང་ཉིན] LT',
59 + nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT',
60 + lastDay: '[ཁ་སང] LT',
61 + lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT',
62 + sameElse: 'L',
63 + },
64 + relativeTime: {
65 + future: '%s ལ་',
66 + past: '%s སྔན་ལ',
67 + s: 'ལམ་སང',
68 + ss: '%d སྐར་ཆ།',
69 + m: 'སྐར་མ་གཅིག',
70 + mm: '%d སྐར་མ',
71 + h: 'ཆུ་ཚོད་གཅིག',
72 + hh: '%d ཆུ་ཚོད',
73 + d: 'ཉིན་གཅིག',
74 + dd: '%d ཉིན་',
75 + M: 'ཟླ་བ་གཅིག',
76 + MM: '%d ཟླ་བ',
77 + y: 'ལོ་གཅིག',
78 + yy: '%d ལོ',
79 + },
80 + preparse: function (string) {
81 + return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) {
82 + return numberMap[match];
83 + });
84 + },
85 + postformat: function (string) {
86 + return string.replace(/\d/g, function (match) {
87 + return symbolMap[match];
88 + });
89 + },
90 + meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,
91 + meridiemHour: function (hour, meridiem) {
92 + if (hour === 12) {
93 + hour = 0;
94 + }
95 + if (
96 + (meridiem === 'མཚན་མོ' && hour >= 4) ||
97 + (meridiem === 'ཉིན་གུང' && hour < 5) ||
98 + meridiem === 'དགོང་དག'
99 + ) {
100 + return hour + 12;
101 + } else {
102 + return hour;
103 + }
104 + },
105 + meridiem: function (hour, minute, isLower) {
106 + if (hour < 4) {
107 + return 'མཚན་མོ';
108 + } else if (hour < 10) {
109 + return 'ཞོགས་ཀས';
110 + } else if (hour < 17) {
111 + return 'ཉིན་གུང';
112 + } else if (hour < 20) {
113 + return 'དགོང་དག';
114 + } else {
115 + return 'མཚན་མོ';
116 + }
117 + },
118 + week: {
119 + dow: 0, // Sunday is the first day of the week.
120 + doy: 6, // The week that contains Jan 6th is the first week of the year.
121 + },
122 +});
1 +//! moment.js locale configuration
2 +//! locale : Breton [br]
3 +//! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou
4 +
5 +import moment from '../moment';
6 +
7 +function relativeTimeWithMutation(number, withoutSuffix, key) {
8 + var format = {
9 + mm: 'munutenn',
10 + MM: 'miz',
11 + dd: 'devezh',
12 + };
13 + return number + ' ' + mutation(format[key], number);
14 +}
15 +function specialMutationForYears(number) {
16 + switch (lastNumber(number)) {
17 + case 1:
18 + case 3:
19 + case 4:
20 + case 5:
21 + case 9:
22 + return number + ' bloaz';
23 + default:
24 + return number + ' vloaz';
25 + }
26 +}
27 +function lastNumber(number) {
28 + if (number > 9) {
29 + return lastNumber(number % 10);
30 + }
31 + return number;
32 +}
33 +function mutation(text, number) {
34 + if (number === 2) {
35 + return softMutation(text);
36 + }
37 + return text;
38 +}
39 +function softMutation(text) {
40 + var mutationTable = {
41 + m: 'v',
42 + b: 'v',
43 + d: 'z',
44 + };
45 + if (mutationTable[text.charAt(0)] === undefined) {
46 + return text;
47 + }
48 + return mutationTable[text.charAt(0)] + text.substring(1);
49 +}
50 +
51 +var monthsParse = [
52 + /^gen/i,
53 + /^c[ʼ\']hwe/i,
54 + /^meu/i,
55 + /^ebr/i,
56 + /^mae/i,
57 + /^(mez|eve)/i,
58 + /^gou/i,
59 + /^eos/i,
60 + /^gwe/i,
61 + /^her/i,
62 + /^du/i,
63 + /^ker/i,
64 + ],
65 + monthsRegex = /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,
66 + monthsStrictRegex = /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,
67 + monthsShortStrictRegex = /^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,
68 + fullWeekdaysParse = [
69 + /^sul/i,
70 + /^lun/i,
71 + /^meurzh/i,
72 + /^merc[ʼ\']her/i,
73 + /^yaou/i,
74 + /^gwener/i,
75 + /^sadorn/i,
76 + ],
77 + shortWeekdaysParse = [
78 + /^Sul/i,
79 + /^Lun/i,
80 + /^Meu/i,
81 + /^Mer/i,
82 + /^Yao/i,
83 + /^Gwe/i,
84 + /^Sad/i,
85 + ],
86 + minWeekdaysParse = [
87 + /^Su/i,
88 + /^Lu/i,
89 + /^Me([^r]|$)/i,
90 + /^Mer/i,
91 + /^Ya/i,
92 + /^Gw/i,
93 + /^Sa/i,
94 + ];
95 +
96 +export default moment.defineLocale('br', {
97 + months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split(
98 + '_'
99 + ),
100 + monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'),
101 + weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'),
102 + weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'),
103 + weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'),
104 + weekdaysParse: minWeekdaysParse,
105 + fullWeekdaysParse: fullWeekdaysParse,
106 + shortWeekdaysParse: shortWeekdaysParse,
107 + minWeekdaysParse: minWeekdaysParse,
108 +
109 + monthsRegex: monthsRegex,
110 + monthsShortRegex: monthsRegex,
111 + monthsStrictRegex: monthsStrictRegex,
112 + monthsShortStrictRegex: monthsShortStrictRegex,
113 + monthsParse: monthsParse,
114 + longMonthsParse: monthsParse,
115 + shortMonthsParse: monthsParse,
116 +
117 + longDateFormat: {
118 + LT: 'HH:mm',
119 + LTS: 'HH:mm:ss',
120 + L: 'DD/MM/YYYY',
121 + LL: 'D [a viz] MMMM YYYY',
122 + LLL: 'D [a viz] MMMM YYYY HH:mm',
123 + LLLL: 'dddd, D [a viz] MMMM YYYY HH:mm',
124 + },
125 + calendar: {
126 + sameDay: '[Hiziv da] LT',
127 + nextDay: '[Warcʼhoazh da] LT',
128 + nextWeek: 'dddd [da] LT',
129 + lastDay: '[Decʼh da] LT',
130 + lastWeek: 'dddd [paset da] LT',
131 + sameElse: 'L',
132 + },
133 + relativeTime: {
134 + future: 'a-benn %s',
135 + past: '%s ʼzo',
136 + s: 'un nebeud segondennoù',
137 + ss: '%d eilenn',
138 + m: 'ur vunutenn',
139 + mm: relativeTimeWithMutation,
140 + h: 'un eur',
141 + hh: '%d eur',
142 + d: 'un devezh',
143 + dd: relativeTimeWithMutation,
144 + M: 'ur miz',
145 + MM: relativeTimeWithMutation,
146 + y: 'ur bloaz',
147 + yy: specialMutationForYears,
148 + },
149 + dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/,
150 + ordinal: function (number) {
151 + var output = number === 1 ? 'añ' : 'vet';
152 + return number + output;
153 + },
154 + week: {
155 + dow: 1, // Monday is the first day of the week.
156 + doy: 4, // The week that contains Jan 4th is the first week of the year.
157 + },
158 + meridiemParse: /a.m.|g.m./, // goude merenn | a-raok merenn
159 + isPM: function (token) {
160 + return token === 'g.m.';
161 + },
162 + meridiem: function (hour, minute, isLower) {
163 + return hour < 12 ? 'a.m.' : 'g.m.';
164 + },
165 +});
1 +//! moment.js locale configuration
2 +//! locale : Bosnian [bs]
3 +//! author : Nedim Cholich : https://github.com/frontyard
4 +//! based on (hr) translation by Bojan Marković
5 +
6 +import moment from '../moment';
7 +
8 +function translate(number, withoutSuffix, key) {
9 + var result = number + ' ';
10 + switch (key) {
11 + case 'ss':
12 + if (number === 1) {
13 + result += 'sekunda';
14 + } else if (number === 2 || number === 3 || number === 4) {
15 + result += 'sekunde';
16 + } else {
17 + result += 'sekundi';
18 + }
19 + return result;
20 + case 'm':
21 + return withoutSuffix ? 'jedna minuta' : 'jedne minute';
22 + case 'mm':
23 + if (number === 1) {
24 + result += 'minuta';
25 + } else if (number === 2 || number === 3 || number === 4) {
26 + result += 'minute';
27 + } else {
28 + result += 'minuta';
29 + }
30 + return result;
31 + case 'h':
32 + return withoutSuffix ? 'jedan sat' : 'jednog sata';
33 + case 'hh':
34 + if (number === 1) {
35 + result += 'sat';
36 + } else if (number === 2 || number === 3 || number === 4) {
37 + result += 'sata';
38 + } else {
39 + result += 'sati';
40 + }
41 + return result;
42 + case 'dd':
43 + if (number === 1) {
44 + result += 'dan';
45 + } else {
46 + result += 'dana';
47 + }
48 + return result;
49 + case 'MM':
50 + if (number === 1) {
51 + result += 'mjesec';
52 + } else if (number === 2 || number === 3 || number === 4) {
53 + result += 'mjeseca';
54 + } else {
55 + result += 'mjeseci';
56 + }
57 + return result;
58 + case 'yy':
59 + if (number === 1) {
60 + result += 'godina';
61 + } else if (number === 2 || number === 3 || number === 4) {
62 + result += 'godine';
63 + } else {
64 + result += 'godina';
65 + }
66 + return result;
67 + }
68 +}
69 +
70 +export default moment.defineLocale('bs', {
71 + months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split(
72 + '_'
73 + ),
74 + monthsShort: 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split(
75 + '_'
76 + ),
77 + monthsParseExact: true,
78 + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
79 + '_'
80 + ),
81 + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
82 + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
83 + weekdaysParseExact: true,
84 + longDateFormat: {
85 + LT: 'H:mm',
86 + LTS: 'H:mm:ss',
87 + L: 'DD.MM.YYYY',
88 + LL: 'D. MMMM YYYY',
89 + LLL: 'D. MMMM YYYY H:mm',
90 + LLLL: 'dddd, D. MMMM YYYY H:mm',
91 + },
92 + calendar: {
93 + sameDay: '[danas u] LT',
94 + nextDay: '[sutra u] LT',
95 + nextWeek: function () {
96 + switch (this.day()) {
97 + case 0:
98 + return '[u] [nedjelju] [u] LT';
99 + case 3:
100 + return '[u] [srijedu] [u] LT';
101 + case 6:
102 + return '[u] [subotu] [u] LT';
103 + case 1:
104 + case 2:
105 + case 4:
106 + case 5:
107 + return '[u] dddd [u] LT';
108 + }
109 + },
110 + lastDay: '[jučer u] LT',
111 + lastWeek: function () {
112 + switch (this.day()) {
113 + case 0:
114 + case 3:
115 + return '[prošlu] dddd [u] LT';
116 + case 6:
117 + return '[prošle] [subote] [u] LT';
118 + case 1:
119 + case 2:
120 + case 4:
121 + case 5:
122 + return '[prošli] dddd [u] LT';
123 + }
124 + },
125 + sameElse: 'L',
126 + },
127 + relativeTime: {
128 + future: 'za %s',
129 + past: 'prije %s',
130 + s: 'par sekundi',
131 + ss: translate,
132 + m: translate,
133 + mm: translate,
134 + h: translate,
135 + hh: translate,
136 + d: 'dan',
137 + dd: translate,
138 + M: 'mjesec',
139 + MM: translate,
140 + y: 'godinu',
141 + yy: translate,
142 + },
143 + dayOfMonthOrdinalParse: /\d{1,2}\./,
144 + ordinal: '%d.',
145 + week: {
146 + dow: 1, // Monday is the first day of the week.
147 + doy: 7, // The week that contains Jan 7th is the first week of the year.
148 + },
149 +});
1 +//! moment.js locale configuration
2 +//! locale : Catalan [ca]
3 +//! author : Juan G. Hurtado : https://github.com/juanghurtado
4 +
5 +import moment from '../moment';
6 +
7 +export default moment.defineLocale('ca', {
8 + months: {
9 + standalone: 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split(
10 + '_'
11 + ),
12 + format: "de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split(
13 + '_'
14 + ),
15 + isFormat: /D[oD]?(\s)+MMMM/,
16 + },
17 + monthsShort: 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split(
18 + '_'
19 + ),
20 + monthsParseExact: true,
21 + weekdays: 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split(
22 + '_'
23 + ),
24 + weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),
25 + weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'),
26 + weekdaysParseExact: true,
27 + longDateFormat: {
28 + LT: 'H:mm',
29 + LTS: 'H:mm:ss',
30 + L: 'DD/MM/YYYY',
31 + LL: 'D MMMM [de] YYYY',
32 + ll: 'D MMM YYYY',
33 + LLL: 'D MMMM [de] YYYY [a les] H:mm',
34 + lll: 'D MMM YYYY, H:mm',
35 + LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm',
36 + llll: 'ddd D MMM YYYY, H:mm',
37 + },
38 + calendar: {
39 + sameDay: function () {
40 + return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
41 + },
42 + nextDay: function () {
43 + return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
44 + },
45 + nextWeek: function () {
46 + return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
47 + },
48 + lastDay: function () {
49 + return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
50 + },
51 + lastWeek: function () {
52 + return (
53 + '[el] dddd [passat a ' +
54 + (this.hours() !== 1 ? 'les' : 'la') +
55 + '] LT'
56 + );
57 + },
58 + sameElse: 'L',
59 + },
60 + relativeTime: {
61 + future: "d'aquí %s",
62 + past: 'fa %s',
63 + s: 'uns segons',
64 + ss: '%d segons',
65 + m: 'un minut',
66 + mm: '%d minuts',
67 + h: 'una hora',
68 + hh: '%d hores',
69 + d: 'un dia',
70 + dd: '%d dies',
71 + M: 'un mes',
72 + MM: '%d mesos',
73 + y: 'un any',
74 + yy: '%d anys',
75 + },
76 + dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
77 + ordinal: function (number, period) {
78 + var output =
79 + number === 1
80 + ? 'r'
81 + : number === 2
82 + ? 'n'
83 + : number === 3
84 + ? 'r'
85 + : number === 4
86 + ? 't'
87 + : 'è';
88 + if (period === 'w' || period === 'W') {
89 + output = 'a';
90 + }
91 + return number + output;
92 + },
93 + week: {
94 + dow: 1, // Monday is the first day of the week.
95 + doy: 4, // The week that contains Jan 4th is the first week of the year.
96 + },
97 +});
1 +//! moment.js locale configuration
2 +//! locale : Czech [cs]
3 +//! author : petrbela : https://github.com/petrbela
4 +
5 +import moment from '../moment';
6 +
7 +var months = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split(
8 + '_'
9 + ),
10 + monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'),
11 + monthsParse = [
12 + /^led/i,
13 + /^úno/i,
14 + /^bře/i,
15 + /^dub/i,
16 + /^kvě/i,
17 + /^(čvn|červen$|června)/i,
18 + /^(čvc|červenec|července)/i,
19 + /^srp/i,
20 + /^zář/i,
21 + /^říj/i,
22 + /^lis/i,
23 + /^pro/i,
24 + ],
25 + // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
26 + // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
27 + monthsRegex = /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;
28 +
29 +function plural(n) {
30 + return n > 1 && n < 5 && ~~(n / 10) !== 1;
31 +}
32 +function translate(number, withoutSuffix, key, isFuture) {
33 + var result = number + ' ';
34 + switch (key) {
35 + case 's': // a few seconds / in a few seconds / a few seconds ago
36 + return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami';
37 + case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago
38 + if (withoutSuffix || isFuture) {
39 + return result + (plural(number) ? 'sekundy' : 'sekund');
40 + } else {
41 + return result + 'sekundami';
42 + }
43 + case 'm': // a minute / in a minute / a minute ago
44 + return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou';
45 + case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
46 + if (withoutSuffix || isFuture) {
47 + return result + (plural(number) ? 'minuty' : 'minut');
48 + } else {
49 + return result + 'minutami';
50 + }
51 + case 'h': // an hour / in an hour / an hour ago
52 + return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
53 + case 'hh': // 9 hours / in 9 hours / 9 hours ago
54 + if (withoutSuffix || isFuture) {
55 + return result + (plural(number) ? 'hodiny' : 'hodin');
56 + } else {
57 + return result + 'hodinami';
58 + }
59 + case 'd': // a day / in a day / a day ago
60 + return withoutSuffix || isFuture ? 'den' : 'dnem';
61 + case 'dd': // 9 days / in 9 days / 9 days ago
62 + if (withoutSuffix || isFuture) {
63 + return result + (plural(number) ? 'dny' : 'dní');
64 + } else {
65 + return result + 'dny';
66 + }
67 + case 'M': // a month / in a month / a month ago
68 + return withoutSuffix || isFuture ? 'měsíc' : 'měsícem';
69 + case 'MM': // 9 months / in 9 months / 9 months ago
70 + if (withoutSuffix || isFuture) {
71 + return result + (plural(number) ? 'měsíce' : 'měsíců');
72 + } else {
73 + return result + 'měsíci';
74 + }
75 + case 'y': // a year / in a year / a year ago
76 + return withoutSuffix || isFuture ? 'rok' : 'rokem';
77 + case 'yy': // 9 years / in 9 years / 9 years ago
78 + if (withoutSuffix || isFuture) {
79 + return result + (plural(number) ? 'roky' : 'let');
80 + } else {
81 + return result + 'lety';
82 + }
83 + }
84 +}
85 +
86 +export default moment.defineLocale('cs', {
87 + months: months,
88 + monthsShort: monthsShort,
89 + monthsRegex: monthsRegex,
90 + monthsShortRegex: monthsRegex,
91 + // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
92 + // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
93 + monthsStrictRegex: /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,
94 + monthsShortStrictRegex: /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,
95 + monthsParse: monthsParse,
96 + longMonthsParse: monthsParse,
97 + shortMonthsParse: monthsParse,
98 + weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
99 + weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'),
100 + weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'),
101 + longDateFormat: {
102 + LT: 'H:mm',
103 + LTS: 'H:mm:ss',
104 + L: 'DD.MM.YYYY',
105 + LL: 'D. MMMM YYYY',
106 + LLL: 'D. MMMM YYYY H:mm',
107 + LLLL: 'dddd D. MMMM YYYY H:mm',
108 + l: 'D. M. YYYY',
109 + },
110 + calendar: {
111 + sameDay: '[dnes v] LT',
112 + nextDay: '[zítra v] LT',
113 + nextWeek: function () {
114 + switch (this.day()) {
115 + case 0:
116 + return '[v neděli v] LT';
117 + case 1:
118 + case 2:
119 + return '[v] dddd [v] LT';
120 + case 3:
121 + return '[ve středu v] LT';
122 + case 4:
123 + return '[ve čtvrtek v] LT';
124 + case 5:
125 + return '[v pátek v] LT';
126 + case 6:
127 + return '[v sobotu v] LT';
128 + }
129 + },
130 + lastDay: '[včera v] LT',
131 + lastWeek: function () {
132 + switch (this.day()) {
133 + case 0:
134 + return '[minulou neděli v] LT';
135 + case 1:
136 + case 2:
137 + return '[minulé] dddd [v] LT';
138 + case 3:
139 + return '[minulou středu v] LT';
140 + case 4:
141 + case 5:
142 + return '[minulý] dddd [v] LT';
143 + case 6:
144 + return '[minulou sobotu v] LT';
145 + }
146 + },
147 + sameElse: 'L',
148 + },
149 + relativeTime: {
150 + future: 'za %s',
151 + past: 'před %s',
152 + s: translate,
153 + ss: translate,
154 + m: translate,
155 + mm: translate,
156 + h: translate,
157 + hh: translate,
158 + d: translate,
159 + dd: translate,
160 + M: translate,
161 + MM: translate,
162 + y: translate,
163 + yy: translate,
164 + },
165 + dayOfMonthOrdinalParse: /\d{1,2}\./,
166 + ordinal: '%d.',
167 + week: {
168 + dow: 1, // Monday is the first day of the week.
169 + doy: 4, // The week that contains Jan 4th is the first week of the year.
170 + },
171 +});
1 +//! moment.js locale configuration
2 +//! locale : Chuvash [cv]
3 +//! author : Anatoly Mironov : https://github.com/mirontoli
4 +
5 +import moment from '../moment';
6 +
7 +export default moment.defineLocale('cv', {
8 + months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split(
9 + '_'
10 + ),
11 + monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
12 + weekdays: 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split(
13 + '_'
14 + ),
15 + weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
16 + weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
17 + longDateFormat: {
18 + LT: 'HH:mm',
19 + LTS: 'HH:mm:ss',
20 + L: 'DD-MM-YYYY',
21 + LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
22 + LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
23 + LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
24 + },
25 + calendar: {
26 + sameDay: '[Паян] LT [сехетре]',
27 + nextDay: '[Ыран] LT [сехетре]',
28 + lastDay: '[Ӗнер] LT [сехетре]',
29 + nextWeek: '[Ҫитес] dddd LT [сехетре]',
30 + lastWeek: '[Иртнӗ] dddd LT [сехетре]',
31 + sameElse: 'L',
32 + },
33 + relativeTime: {
34 + future: function (output) {
35 + var affix = /сехет$/i.exec(output)
36 + ? 'рен'
37 + : /ҫул$/i.exec(output)
38 + ? 'тан'
39 + : 'ран';
40 + return output + affix;
41 + },
42 + past: '%s каялла',
43 + s: 'пӗр-ик ҫеккунт',
44 + ss: '%d ҫеккунт',
45 + m: 'пӗр минут',
46 + mm: '%d минут',
47 + h: 'пӗр сехет',
48 + hh: '%d сехет',
49 + d: 'пӗр кун',
50 + dd: '%d кун',
51 + M: 'пӗр уйӑх',
52 + MM: '%d уйӑх',
53 + y: 'пӗр ҫул',
54 + yy: '%d ҫул',
55 + },
56 + dayOfMonthOrdinalParse: /\d{1,2}-мӗш/,
57 + ordinal: '%d-мӗш',
58 + week: {
59 + dow: 1, // Monday is the first day of the week.
60 + doy: 7, // The week that contains Jan 7th is the first week of the year.
61 + },
62 +});
1 +//! moment.js locale configuration
2 +//! locale : Welsh [cy]
3 +//! author : Robert Allen : https://github.com/robgallen
4 +//! author : https://github.com/ryangreaves
5 +
6 +import moment from '../moment';
7 +
8 +export default moment.defineLocale('cy', {
9 + months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split(
10 + '_'
11 + ),
12 + monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split(
13 + '_'
14 + ),
15 + weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split(
16 + '_'
17 + ),
18 + weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),
19 + weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),
20 + weekdaysParseExact: true,
21 + // time formats are the same as en-gb
22 + longDateFormat: {
23 + LT: 'HH:mm',
24 + LTS: 'HH:mm:ss',
25 + L: 'DD/MM/YYYY',
26 + LL: 'D MMMM YYYY',
27 + LLL: 'D MMMM YYYY HH:mm',
28 + LLLL: 'dddd, D MMMM YYYY HH:mm',
29 + },
30 + calendar: {
31 + sameDay: '[Heddiw am] LT',
32 + nextDay: '[Yfory am] LT',
33 + nextWeek: 'dddd [am] LT',
34 + lastDay: '[Ddoe am] LT',
35 + lastWeek: 'dddd [diwethaf am] LT',
36 + sameElse: 'L',
37 + },
38 + relativeTime: {
39 + future: 'mewn %s',
40 + past: '%s yn ôl',
41 + s: 'ychydig eiliadau',
42 + ss: '%d eiliad',
43 + m: 'munud',
44 + mm: '%d munud',
45 + h: 'awr',
46 + hh: '%d awr',
47 + d: 'diwrnod',
48 + dd: '%d diwrnod',
49 + M: 'mis',
50 + MM: '%d mis',
51 + y: 'blwyddyn',
52 + yy: '%d flynedd',
53 + },
54 + dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,
55 + // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh
56 + ordinal: function (number) {
57 + var b = number,
58 + output = '',
59 + lookup = [
60 + '',
61 + 'af',
62 + 'il',
63 + 'ydd',
64 + 'ydd',
65 + 'ed',
66 + 'ed',
67 + 'ed',
68 + 'fed',
69 + 'fed',
70 + 'fed', // 1af to 10fed
71 + 'eg',
72 + 'fed',
73 + 'eg',
74 + 'eg',
75 + 'fed',
76 + 'eg',
77 + 'eg',
78 + 'fed',
79 + 'eg',
80 + 'fed', // 11eg to 20fed
81 + ];
82 + if (b > 20) {
83 + if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {
84 + output = 'fed'; // not 30ain, 70ain or 90ain
85 + } else {
86 + output = 'ain';
87 + }
88 + } else if (b > 0) {
89 + output = lookup[b];
90 + }
91 + return number + output;
92 + },
93 + week: {
94 + dow: 1, // Monday is the first day of the week.
95 + doy: 4, // The week that contains Jan 4th is the first week of the year.
96 + },
97 +});
1 +//! moment.js locale configuration
2 +//! locale : Danish [da]
3 +//! author : Ulrik Nielsen : https://github.com/mrbase
4 +
5 +import moment from '../moment';
6 +
7 +export default moment.defineLocale('da', {
8 + months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split(
9 + '_'
10 + ),
11 + monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
12 + weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
13 + weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'),
14 + weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
15 + longDateFormat: {
16 + LT: 'HH:mm',
17 + LTS: 'HH:mm:ss',
18 + L: 'DD.MM.YYYY',
19 + LL: 'D. MMMM YYYY',
20 + LLL: 'D. MMMM YYYY HH:mm',
21 + LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm',
22 + },
23 + calendar: {
24 + sameDay: '[i dag kl.] LT',
25 + nextDay: '[i morgen kl.] LT',
26 + nextWeek: 'på dddd [kl.] LT',
27 + lastDay: '[i går kl.] LT',
28 + lastWeek: '[i] dddd[s kl.] LT',
29 + sameElse: 'L',
30 + },
31 + relativeTime: {
32 + future: 'om %s',
33 + past: '%s siden',
34 + s: 'få sekunder',
35 + ss: '%d sekunder',
36 + m: 'et minut',
37 + mm: '%d minutter',
38 + h: 'en time',
39 + hh: '%d timer',
40 + d: 'en dag',
41 + dd: '%d dage',
42 + M: 'en måned',
43 + MM: '%d måneder',
44 + y: 'et år',
45 + yy: '%d år',
46 + },
47 + dayOfMonthOrdinalParse: /\d{1,2}\./,
48 + ordinal: '%d.',
49 + week: {
50 + dow: 1, // Monday is the first day of the week.
51 + doy: 4, // The week that contains Jan 4th is the first week of the year.
52 + },
53 +});
1 +//! moment.js locale configuration
2 +//! locale : German (Austria) [de-at]
3 +//! author : lluchs : https://github.com/lluchs
4 +//! author: Menelion Elensúle: https://github.com/Oire
5 +//! author : Martin Groller : https://github.com/MadMG
6 +//! author : Mikolaj Dadela : https://github.com/mik01aj
7 +
8 +import moment from '../moment';
9 +
10 +function processRelativeTime(number, withoutSuffix, key, isFuture) {
11 + var format = {
12 + m: ['eine Minute', 'einer Minute'],
13 + h: ['eine Stunde', 'einer Stunde'],
14 + d: ['ein Tag', 'einem Tag'],
15 + dd: [number + ' Tage', number + ' Tagen'],
16 + w: ['eine Woche', 'einer Woche'],
17 + M: ['ein Monat', 'einem Monat'],
18 + MM: [number + ' Monate', number + ' Monaten'],
19 + y: ['ein Jahr', 'einem Jahr'],
20 + yy: [number + ' Jahre', number + ' Jahren'],
21 + };
22 + return withoutSuffix ? format[key][0] : format[key][1];
23 +}
24 +
25 +export default moment.defineLocale('de-at', {
26 + months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
27 + '_'
28 + ),
29 + monthsShort: 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(
30 + '_'
31 + ),
32 + monthsParseExact: true,
33 + weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
34 + '_'
35 + ),
36 + weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
37 + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
38 + weekdaysParseExact: true,
39 + longDateFormat: {
40 + LT: 'HH:mm',
41 + LTS: 'HH:mm:ss',
42 + L: 'DD.MM.YYYY',
43 + LL: 'D. MMMM YYYY',
44 + LLL: 'D. MMMM YYYY HH:mm',
45 + LLLL: 'dddd, D. MMMM YYYY HH:mm',
46 + },
47 + calendar: {
48 + sameDay: '[heute um] LT [Uhr]',
49 + sameElse: 'L',
50 + nextDay: '[morgen um] LT [Uhr]',
51 + nextWeek: 'dddd [um] LT [Uhr]',
52 + lastDay: '[gestern um] LT [Uhr]',
53 + lastWeek: '[letzten] dddd [um] LT [Uhr]',
54 + },
55 + relativeTime: {
56 + future: 'in %s',
57 + past: 'vor %s',
58 + s: 'ein paar Sekunden',
59 + ss: '%d Sekunden',
60 + m: processRelativeTime,
61 + mm: '%d Minuten',
62 + h: processRelativeTime,
63 + hh: '%d Stunden',
64 + d: processRelativeTime,
65 + dd: processRelativeTime,
66 + w: processRelativeTime,
67 + ww: '%d Wochen',
68 + M: processRelativeTime,
69 + MM: processRelativeTime,
70 + y: processRelativeTime,
71 + yy: processRelativeTime,
72 + },
73 + dayOfMonthOrdinalParse: /\d{1,2}\./,
74 + ordinal: '%d.',
75 + week: {
76 + dow: 1, // Monday is the first day of the week.
77 + doy: 4, // The week that contains Jan 4th is the first week of the year.
78 + },
79 +});
1 +//! moment.js locale configuration
2 +//! locale : German (Switzerland) [de-ch]
3 +//! author : sschueller : https://github.com/sschueller
4 +
5 +// based on: https://www.bk.admin.ch/dokumentation/sprachen/04915/05016/index.html?lang=de#
6 +
7 +import moment from '../moment';
8 +
9 +function processRelativeTime(number, withoutSuffix, key, isFuture) {
10 + var format = {
11 + m: ['eine Minute', 'einer Minute'],
12 + h: ['eine Stunde', 'einer Stunde'],
13 + d: ['ein Tag', 'einem Tag'],
14 + dd: [number + ' Tage', number + ' Tagen'],
15 + w: ['eine Woche', 'einer Woche'],
16 + M: ['ein Monat', 'einem Monat'],
17 + MM: [number + ' Monate', number + ' Monaten'],
18 + y: ['ein Jahr', 'einem Jahr'],
19 + yy: [number + ' Jahre', number + ' Jahren'],
20 + };
21 + return withoutSuffix ? format[key][0] : format[key][1];
22 +}
23 +
24 +export default moment.defineLocale('de-ch', {
25 + months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
26 + '_'
27 + ),
28 + monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(
29 + '_'
30 + ),
31 + monthsParseExact: true,
32 + weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
33 + '_'
34 + ),
35 + weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
36 + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
37 + weekdaysParseExact: true,
38 + longDateFormat: {
39 + LT: 'HH:mm',
40 + LTS: 'HH:mm:ss',
41 + L: 'DD.MM.YYYY',
42 + LL: 'D. MMMM YYYY',
43 + LLL: 'D. MMMM YYYY HH:mm',
44 + LLLL: 'dddd, D. MMMM YYYY HH:mm',
45 + },
46 + calendar: {
47 + sameDay: '[heute um] LT [Uhr]',
48 + sameElse: 'L',
49 + nextDay: '[morgen um] LT [Uhr]',
50 + nextWeek: 'dddd [um] LT [Uhr]',
51 + lastDay: '[gestern um] LT [Uhr]',
52 + lastWeek: '[letzten] dddd [um] LT [Uhr]',
53 + },
54 + relativeTime: {
55 + future: 'in %s',
56 + past: 'vor %s',
57 + s: 'ein paar Sekunden',
58 + ss: '%d Sekunden',
59 + m: processRelativeTime,
60 + mm: '%d Minuten',
61 + h: processRelativeTime,
62 + hh: '%d Stunden',
63 + d: processRelativeTime,
64 + dd: processRelativeTime,
65 + w: processRelativeTime,
66 + ww: '%d Wochen',
67 + M: processRelativeTime,
68 + MM: processRelativeTime,
69 + y: processRelativeTime,
70 + yy: processRelativeTime,
71 + },
72 + dayOfMonthOrdinalParse: /\d{1,2}\./,
73 + ordinal: '%d.',
74 + week: {
75 + dow: 1, // Monday is the first day of the week.
76 + doy: 4, // The week that contains Jan 4th is the first week of the year.
77 + },
78 +});
1 +//! moment.js locale configuration
2 +//! locale : German [de]
3 +//! author : lluchs : https://github.com/lluchs
4 +//! author: Menelion Elensúle: https://github.com/Oire
5 +//! author : Mikolaj Dadela : https://github.com/mik01aj
6 +
7 +import moment from '../moment';
8 +
9 +function processRelativeTime(number, withoutSuffix, key, isFuture) {
10 + var format = {
11 + m: ['eine Minute', 'einer Minute'],
12 + h: ['eine Stunde', 'einer Stunde'],
13 + d: ['ein Tag', 'einem Tag'],
14 + dd: [number + ' Tage', number + ' Tagen'],
15 + w: ['eine Woche', 'einer Woche'],
16 + M: ['ein Monat', 'einem Monat'],
17 + MM: [number + ' Monate', number + ' Monaten'],
18 + y: ['ein Jahr', 'einem Jahr'],
19 + yy: [number + ' Jahre', number + ' Jahren'],
20 + };
21 + return withoutSuffix ? format[key][0] : format[key][1];
22 +}
23 +
24 +export default moment.defineLocale('de', {
25 + months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
26 + '_'
27 + ),
28 + monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(
29 + '_'
30 + ),
31 + monthsParseExact: true,
32 + weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
33 + '_'
34 + ),
35 + weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
36 + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
37 + weekdaysParseExact: true,
38 + longDateFormat: {
39 + LT: 'HH:mm',
40 + LTS: 'HH:mm:ss',
41 + L: 'DD.MM.YYYY',
42 + LL: 'D. MMMM YYYY',
43 + LLL: 'D. MMMM YYYY HH:mm',
44 + LLLL: 'dddd, D. MMMM YYYY HH:mm',
45 + },
46 + calendar: {
47 + sameDay: '[heute um] LT [Uhr]',
48 + sameElse: 'L',
49 + nextDay: '[morgen um] LT [Uhr]',
50 + nextWeek: 'dddd [um] LT [Uhr]',
51 + lastDay: '[gestern um] LT [Uhr]',
52 + lastWeek: '[letzten] dddd [um] LT [Uhr]',
53 + },
54 + relativeTime: {
55 + future: 'in %s',
56 + past: 'vor %s',
57 + s: 'ein paar Sekunden',
58 + ss: '%d Sekunden',
59 + m: processRelativeTime,
60 + mm: '%d Minuten',
61 + h: processRelativeTime,
62 + hh: '%d Stunden',
63 + d: processRelativeTime,
64 + dd: processRelativeTime,
65 + w: processRelativeTime,
66 + ww: '%d Wochen',
67 + M: processRelativeTime,
68 + MM: processRelativeTime,
69 + y: processRelativeTime,
70 + yy: processRelativeTime,
71 + },
72 + dayOfMonthOrdinalParse: /\d{1,2}\./,
73 + ordinal: '%d.',
74 + week: {
75 + dow: 1, // Monday is the first day of the week.
76 + doy: 4, // The week that contains Jan 4th is the first week of the year.
77 + },
78 +});
1 +//! moment.js locale configuration
2 +//! locale : Maldivian [dv]
3 +//! author : Jawish Hameed : https://github.com/jawish
4 +
5 +import moment from '../moment';
6 +
7 +var months = [
8 + 'ޖެނުއަރީ',
9 + 'ފެބްރުއަރީ',
10 + 'މާރިޗު',
11 + 'އޭޕްރީލު',
12 + 'މޭ',
13 + 'ޖޫން',
14 + 'ޖުލައި',
15 + 'އޯގަސްޓު',
16 + 'ސެޕްޓެމްބަރު',
17 + 'އޮކްޓޯބަރު',
18 + 'ނޮވެމްބަރު',
19 + 'ޑިސެމްބަރު',
20 + ],
21 + weekdays = [
22 + 'އާދިއްތަ',
23 + 'ހޯމަ',
24 + 'އަންގާރަ',
25 + 'ބުދަ',
26 + 'ބުރާސްފަތި',
27 + 'ހުކުރު',
28 + 'ހޮނިހިރު',
29 + ];
30 +
31 +export default moment.defineLocale('dv', {
32 + months: months,
33 + monthsShort: months,
34 + weekdays: weekdays,
35 + weekdaysShort: weekdays,
36 + weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),
37 + longDateFormat: {
38 + LT: 'HH:mm',
39 + LTS: 'HH:mm:ss',
40 + L: 'D/M/YYYY',
41 + LL: 'D MMMM YYYY',
42 + LLL: 'D MMMM YYYY HH:mm',
43 + LLLL: 'dddd D MMMM YYYY HH:mm',
44 + },
45 + meridiemParse: /މކ|މފ/,
46 + isPM: function (input) {
47 + return 'މފ' === input;
48 + },
49 + meridiem: function (hour, minute, isLower) {
50 + if (hour < 12) {
51 + return 'މކ';
52 + } else {
53 + return 'މފ';
54 + }
55 + },
56 + calendar: {
57 + sameDay: '[މިއަދު] LT',
58 + nextDay: '[މާދަމާ] LT',
59 + nextWeek: 'dddd LT',
60 + lastDay: '[އިއްޔެ] LT',
61 + lastWeek: '[ފާއިތުވި] dddd LT',
62 + sameElse: 'L',
63 + },
64 + relativeTime: {
65 + future: 'ތެރޭގައި %s',
66 + past: 'ކުރިން %s',
67 + s: 'ސިކުންތުކޮޅެއް',
68 + ss: 'd% ސިކުންތު',
69 + m: 'މިނިޓެއް',
70 + mm: 'މިނިޓު %d',
71 + h: 'ގަޑިއިރެއް',
72 + hh: 'ގަޑިއިރު %d',
73 + d: 'ދުވަހެއް',
74 + dd: 'ދުވަސް %d',
75 + M: 'މަހެއް',
76 + MM: 'މަސް %d',
77 + y: 'އަހަރެއް',
78 + yy: 'އަހަރު %d',
79 + },
80 + preparse: function (string) {
81 + return string.replace(/،/g, ',');
82 + },
83 + postformat: function (string) {
84 + return string.replace(/,/g, '،');
85 + },
86 + week: {
87 + dow: 7, // Sunday is the first day of the week.
88 + doy: 12, // The week that contains Jan 12th is the first week of the year.
89 + },
90 +});
1 +//! moment.js locale configuration
2 +//! locale : Greek [el]
3 +//! author : Aggelos Karalias : https://github.com/mehiel
4 +
5 +import moment from '../moment';
6 +
7 +function isFunction(input) {
8 + return (
9 + (typeof Function !== 'undefined' && input instanceof Function) ||
10 + Object.prototype.toString.call(input) === '[object Function]'
11 + );
12 +}
13 +
14 +export default moment.defineLocale('el', {
15 + monthsNominativeEl: 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split(
16 + '_'
17 + ),
18 + monthsGenitiveEl: 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split(
19 + '_'
20 + ),
21 + months: function (momentToFormat, format) {
22 + if (!momentToFormat) {
23 + return this._monthsNominativeEl;
24 + } else if (
25 + typeof format === 'string' &&
26 + /D/.test(format.substring(0, format.indexOf('MMMM')))
27 + ) {
28 + // if there is a day number before 'MMMM'
29 + return this._monthsGenitiveEl[momentToFormat.month()];
30 + } else {
31 + return this._monthsNominativeEl[momentToFormat.month()];
32 + }
33 + },
34 + monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),
35 + weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split(
36 + '_'
37 + ),
38 + weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),
39 + weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),
40 + meridiem: function (hours, minutes, isLower) {
41 + if (hours > 11) {
42 + return isLower ? 'μμ' : 'ΜΜ';
43 + } else {
44 + return isLower ? 'πμ' : 'ΠΜ';
45 + }
46 + },
47 + isPM: function (input) {
48 + return (input + '').toLowerCase()[0] === 'μ';
49 + },
50 + meridiemParse: /[ΠΜ]\.?Μ?\.?/i,
51 + longDateFormat: {
52 + LT: 'h:mm A',
53 + LTS: 'h:mm:ss A',
54 + L: 'DD/MM/YYYY',
55 + LL: 'D MMMM YYYY',
56 + LLL: 'D MMMM YYYY h:mm A',
57 + LLLL: 'dddd, D MMMM YYYY h:mm A',
58 + },
59 + calendarEl: {
60 + sameDay: '[Σήμερα {}] LT',
61 + nextDay: '[Αύριο {}] LT',
62 + nextWeek: 'dddd [{}] LT',
63 + lastDay: '[Χθες {}] LT',
64 + lastWeek: function () {
65 + switch (this.day()) {
66 + case 6:
67 + return '[το προηγούμενο] dddd [{}] LT';
68 + default:
69 + return '[την προηγούμενη] dddd [{}] LT';
70 + }
71 + },
72 + sameElse: 'L',
73 + },
74 + calendar: function (key, mom) {
75 + var output = this._calendarEl[key],
76 + hours = mom && mom.hours();
77 + if (isFunction(output)) {
78 + output = output.apply(mom);
79 + }
80 + return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις');
81 + },
82 + relativeTime: {
83 + future: 'σε %s',
84 + past: '%s πριν',
85 + s: 'λίγα δευτερόλεπτα',
86 + ss: '%d δευτερόλεπτα',
87 + m: 'ένα λεπτό',
88 + mm: '%d λεπτά',
89 + h: 'μία ώρα',
90 + hh: '%d ώρες',
91 + d: 'μία μέρα',
92 + dd: '%d μέρες',
93 + M: 'ένας μήνας',
94 + MM: '%d μήνες',
95 + y: 'ένας χρόνος',
96 + yy: '%d χρόνια',
97 + },
98 + dayOfMonthOrdinalParse: /\d{1,2}η/,
99 + ordinal: '%dη',
100 + week: {
101 + dow: 1, // Monday is the first day of the week.
102 + doy: 4, // The week that contains Jan 4st is the first week of the year.
103 + },
104 +});
1 +//! moment.js locale configuration
2 +//! locale : English (Australia) [en-au]
3 +//! author : Jared Morse : https://github.com/jarcoal
4 +
5 +import moment from '../moment';
6 +
7 +export default moment.defineLocale('en-au', {
8 + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
9 + '_'
10 + ),
11 + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
12 + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
13 + '_'
14 + ),
15 + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
16 + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
17 + longDateFormat: {
18 + LT: 'h:mm A',
19 + LTS: 'h:mm:ss A',
20 + L: 'DD/MM/YYYY',
21 + LL: 'D MMMM YYYY',
22 + LLL: 'D MMMM YYYY h:mm A',
23 + LLLL: 'dddd, D MMMM YYYY h:mm A',
24 + },
25 + calendar: {
26 + sameDay: '[Today at] LT',
27 + nextDay: '[Tomorrow at] LT',
28 + nextWeek: 'dddd [at] LT',
29 + lastDay: '[Yesterday at] LT',
30 + lastWeek: '[Last] dddd [at] LT',
31 + sameElse: 'L',
32 + },
33 + relativeTime: {
34 + future: 'in %s',
35 + past: '%s ago',
36 + s: 'a few seconds',
37 + ss: '%d seconds',
38 + m: 'a minute',
39 + mm: '%d minutes',
40 + h: 'an hour',
41 + hh: '%d hours',
42 + d: 'a day',
43 + dd: '%d days',
44 + M: 'a month',
45 + MM: '%d months',
46 + y: 'a year',
47 + yy: '%d years',
48 + },
49 + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
50 + ordinal: function (number) {
51 + var b = number % 10,
52 + output =
53 + ~~((number % 100) / 10) === 1
54 + ? 'th'
55 + : b === 1
56 + ? 'st'
57 + : b === 2
58 + ? 'nd'
59 + : b === 3
60 + ? 'rd'
61 + : 'th';
62 + return number + output;
63 + },
64 + week: {
65 + dow: 0, // Sunday is the first day of the week.
66 + doy: 4, // The week that contains Jan 4th is the first week of the year.
67 + },
68 +});
1 +//! moment.js locale configuration
2 +//! locale : English (Canada) [en-ca]
3 +//! author : Jonathan Abourbih : https://github.com/jonbca
4 +
5 +import moment from '../moment';
6 +
7 +export default moment.defineLocale('en-ca', {
8 + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
9 + '_'
10 + ),
11 + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
12 + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
13 + '_'
14 + ),
15 + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
16 + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
17 + longDateFormat: {
18 + LT: 'h:mm A',
19 + LTS: 'h:mm:ss A',
20 + L: 'YYYY-MM-DD',
21 + LL: 'MMMM D, YYYY',
22 + LLL: 'MMMM D, YYYY h:mm A',
23 + LLLL: 'dddd, MMMM D, YYYY h:mm A',
24 + },
25 + calendar: {
26 + sameDay: '[Today at] LT',
27 + nextDay: '[Tomorrow at] LT',
28 + nextWeek: 'dddd [at] LT',
29 + lastDay: '[Yesterday at] LT',
30 + lastWeek: '[Last] dddd [at] LT',
31 + sameElse: 'L',
32 + },
33 + relativeTime: {
34 + future: 'in %s',
35 + past: '%s ago',
36 + s: 'a few seconds',
37 + ss: '%d seconds',
38 + m: 'a minute',
39 + mm: '%d minutes',
40 + h: 'an hour',
41 + hh: '%d hours',
42 + d: 'a day',
43 + dd: '%d days',
44 + M: 'a month',
45 + MM: '%d months',
46 + y: 'a year',
47 + yy: '%d years',
48 + },
49 + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
50 + ordinal: function (number) {
51 + var b = number % 10,
52 + output =
53 + ~~((number % 100) / 10) === 1
54 + ? 'th'
55 + : b === 1
56 + ? 'st'
57 + : b === 2
58 + ? 'nd'
59 + : b === 3
60 + ? 'rd'
61 + : 'th';
62 + return number + output;
63 + },
64 +});
1 +//! moment.js locale configuration
2 +//! locale : English (United Kingdom) [en-gb]
3 +//! author : Chris Gedrim : https://github.com/chrisgedrim
4 +
5 +import moment from '../moment';
6 +
7 +export default moment.defineLocale('en-gb', {
8 + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
9 + '_'
10 + ),
11 + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
12 + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
13 + '_'
14 + ),
15 + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
16 + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
17 + longDateFormat: {
18 + LT: 'HH:mm',
19 + LTS: 'HH:mm:ss',
20 + L: 'DD/MM/YYYY',
21 + LL: 'D MMMM YYYY',
22 + LLL: 'D MMMM YYYY HH:mm',
23 + LLLL: 'dddd, D MMMM YYYY HH:mm',
24 + },
25 + calendar: {
26 + sameDay: '[Today at] LT',
27 + nextDay: '[Tomorrow at] LT',
28 + nextWeek: 'dddd [at] LT',
29 + lastDay: '[Yesterday at] LT',
30 + lastWeek: '[Last] dddd [at] LT',
31 + sameElse: 'L',
32 + },
33 + relativeTime: {
34 + future: 'in %s',
35 + past: '%s ago',
36 + s: 'a few seconds',
37 + ss: '%d seconds',
38 + m: 'a minute',
39 + mm: '%d minutes',
40 + h: 'an hour',
41 + hh: '%d hours',
42 + d: 'a day',
43 + dd: '%d days',
44 + M: 'a month',
45 + MM: '%d months',
46 + y: 'a year',
47 + yy: '%d years',
48 + },
49 + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
50 + ordinal: function (number) {
51 + var b = number % 10,
52 + output =
53 + ~~((number % 100) / 10) === 1
54 + ? 'th'
55 + : b === 1
56 + ? 'st'
57 + : b === 2
58 + ? 'nd'
59 + : b === 3
60 + ? 'rd'
61 + : 'th';
62 + return number + output;
63 + },
64 + week: {
65 + dow: 1, // Monday is the first day of the week.
66 + doy: 4, // The week that contains Jan 4th is the first week of the year.
67 + },
68 +});
1 +//! moment.js locale configuration
2 +//! locale : English (Ireland) [en-ie]
3 +//! author : Chris Cartlidge : https://github.com/chriscartlidge
4 +
5 +import moment from '../moment';
6 +
7 +export default moment.defineLocale('en-ie', {
8 + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
9 + '_'
10 + ),
11 + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
12 + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
13 + '_'
14 + ),
15 + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
16 + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
17 + longDateFormat: {
18 + LT: 'HH:mm',
19 + LTS: 'HH:mm:ss',
20 + L: 'DD/MM/YYYY',
21 + LL: 'D MMMM YYYY',
22 + LLL: 'D MMMM YYYY HH:mm',
23 + LLLL: 'dddd D MMMM YYYY HH:mm',
24 + },
25 + calendar: {
26 + sameDay: '[Today at] LT',
27 + nextDay: '[Tomorrow at] LT',
28 + nextWeek: 'dddd [at] LT',
29 + lastDay: '[Yesterday at] LT',
30 + lastWeek: '[Last] dddd [at] LT',
31 + sameElse: 'L',
32 + },
33 + relativeTime: {
34 + future: 'in %s',
35 + past: '%s ago',
36 + s: 'a few seconds',
37 + ss: '%d seconds',
38 + m: 'a minute',
39 + mm: '%d minutes',
40 + h: 'an hour',
41 + hh: '%d hours',
42 + d: 'a day',
43 + dd: '%d days',
44 + M: 'a month',
45 + MM: '%d months',
46 + y: 'a year',
47 + yy: '%d years',
48 + },
49 + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
50 + ordinal: function (number) {
51 + var b = number % 10,
52 + output =
53 + ~~((number % 100) / 10) === 1
54 + ? 'th'
55 + : b === 1
56 + ? 'st'
57 + : b === 2
58 + ? 'nd'
59 + : b === 3
60 + ? 'rd'
61 + : 'th';
62 + return number + output;
63 + },
64 + week: {
65 + dow: 1, // Monday is the first day of the week.
66 + doy: 4, // The week that contains Jan 4th is the first week of the year.
67 + },
68 +});
1 +//! moment.js locale configuration
2 +//! locale : English (Israel) [en-il]
3 +//! author : Chris Gedrim : https://github.com/chrisgedrim
4 +
5 +import moment from '../moment';
6 +
7 +export default moment.defineLocale('en-il', {
8 + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
9 + '_'
10 + ),
11 + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
12 + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
13 + '_'
14 + ),
15 + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
16 + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
17 + longDateFormat: {
18 + LT: 'HH:mm',
19 + LTS: 'HH:mm:ss',
20 + L: 'DD/MM/YYYY',
21 + LL: 'D MMMM YYYY',
22 + LLL: 'D MMMM YYYY HH:mm',
23 + LLLL: 'dddd, D MMMM YYYY HH:mm',
24 + },
25 + calendar: {
26 + sameDay: '[Today at] LT',
27 + nextDay: '[Tomorrow at] LT',
28 + nextWeek: 'dddd [at] LT',
29 + lastDay: '[Yesterday at] LT',
30 + lastWeek: '[Last] dddd [at] LT',
31 + sameElse: 'L',
32 + },
33 + relativeTime: {
34 + future: 'in %s',
35 + past: '%s ago',
36 + s: 'a few seconds',
37 + ss: '%d seconds',
38 + m: 'a minute',
39 + mm: '%d minutes',
40 + h: 'an hour',
41 + hh: '%d hours',
42 + d: 'a day',
43 + dd: '%d days',
44 + M: 'a month',
45 + MM: '%d months',
46 + y: 'a year',
47 + yy: '%d years',
48 + },
49 + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
50 + ordinal: function (number) {
51 + var b = number % 10,
52 + output =
53 + ~~((number % 100) / 10) === 1
54 + ? 'th'
55 + : b === 1
56 + ? 'st'
57 + : b === 2
58 + ? 'nd'
59 + : b === 3
60 + ? 'rd'
61 + : 'th';
62 + return number + output;
63 + },
64 +});
1 +//! moment.js locale configuration
2 +//! locale : English (India) [en-in]
3 +//! author : Jatin Agrawal : https://github.com/jatinag22
4 +
5 +import moment from '../moment';
6 +
7 +export default moment.defineLocale('en-in', {
8 + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
9 + '_'
10 + ),
11 + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
12 + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
13 + '_'
14 + ),
15 + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
16 + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
17 + longDateFormat: {
18 + LT: 'h:mm A',
19 + LTS: 'h:mm:ss A',
20 + L: 'DD/MM/YYYY',
21 + LL: 'D MMMM YYYY',
22 + LLL: 'D MMMM YYYY h:mm A',
23 + LLLL: 'dddd, D MMMM YYYY h:mm A',
24 + },
25 + calendar: {
26 + sameDay: '[Today at] LT',
27 + nextDay: '[Tomorrow at] LT',
28 + nextWeek: 'dddd [at] LT',
29 + lastDay: '[Yesterday at] LT',
30 + lastWeek: '[Last] dddd [at] LT',
31 + sameElse: 'L',
32 + },
33 + relativeTime: {
34 + future: 'in %s',
35 + past: '%s ago',
36 + s: 'a few seconds',
37 + ss: '%d seconds',
38 + m: 'a minute',
39 + mm: '%d minutes',
40 + h: 'an hour',
41 + hh: '%d hours',
42 + d: 'a day',
43 + dd: '%d days',
44 + M: 'a month',
45 + MM: '%d months',
46 + y: 'a year',
47 + yy: '%d years',
48 + },
49 + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
50 + ordinal: function (number) {
51 + var b = number % 10,
52 + output =
53 + ~~((number % 100) / 10) === 1
54 + ? 'th'
55 + : b === 1
56 + ? 'st'
57 + : b === 2
58 + ? 'nd'
59 + : b === 3
60 + ? 'rd'
61 + : 'th';
62 + return number + output;
63 + },
64 + week: {
65 + dow: 0, // Sunday is the first day of the week.
66 + doy: 6, // The week that contains Jan 1st is the first week of the year.
67 + },
68 +});
1 +//! moment.js locale configuration
2 +//! locale : English (New Zealand) [en-nz]
3 +//! author : Luke McGregor : https://github.com/lukemcgregor
4 +
5 +import moment from '../moment';
6 +
7 +export default moment.defineLocale('en-nz', {
8 + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
9 + '_'
10 + ),
11 + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
12 + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
13 + '_'
14 + ),
15 + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
16 + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
17 + longDateFormat: {
18 + LT: 'h:mm A',
19 + LTS: 'h:mm:ss A',
20 + L: 'DD/MM/YYYY',
21 + LL: 'D MMMM YYYY',
22 + LLL: 'D MMMM YYYY h:mm A',
23 + LLLL: 'dddd, D MMMM YYYY h:mm A',
24 + },
25 + calendar: {
26 + sameDay: '[Today at] LT',
27 + nextDay: '[Tomorrow at] LT',
28 + nextWeek: 'dddd [at] LT',
29 + lastDay: '[Yesterday at] LT',
30 + lastWeek: '[Last] dddd [at] LT',
31 + sameElse: 'L',
32 + },
33 + relativeTime: {
34 + future: 'in %s',
35 + past: '%s ago',
36 + s: 'a few seconds',
37 + ss: '%d seconds',
38 + m: 'a minute',
39 + mm: '%d minutes',
40 + h: 'an hour',
41 + hh: '%d hours',
42 + d: 'a day',
43 + dd: '%d days',
44 + M: 'a month',
45 + MM: '%d months',
46 + y: 'a year',
47 + yy: '%d years',
48 + },
49 + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
50 + ordinal: function (number) {
51 + var b = number % 10,
52 + output =
53 + ~~((number % 100) / 10) === 1
54 + ? 'th'
55 + : b === 1
56 + ? 'st'
57 + : b === 2
58 + ? 'nd'
59 + : b === 3
60 + ? 'rd'
61 + : 'th';
62 + return number + output;
63 + },
64 + week: {
65 + dow: 1, // Monday is the first day of the week.
66 + doy: 4, // The week that contains Jan 4th is the first week of the year.
67 + },
68 +});
1 +//! moment.js locale configuration
2 +//! locale : English (Singapore) [en-sg]
3 +//! author : Matthew Castrillon-Madrigal : https://github.com/techdimension
4 +
5 +import moment from '../moment';
6 +
7 +export default moment.defineLocale('en-sg', {
8 + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
9 + '_'
10 + ),
11 + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
12 + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
13 + '_'
14 + ),
15 + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
16 + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
17 + longDateFormat: {
18 + LT: 'HH:mm',
19 + LTS: 'HH:mm:ss',
20 + L: 'DD/MM/YYYY',
21 + LL: 'D MMMM YYYY',
22 + LLL: 'D MMMM YYYY HH:mm',
23 + LLLL: 'dddd, D MMMM YYYY HH:mm',
24 + },
25 + calendar: {
26 + sameDay: '[Today at] LT',
27 + nextDay: '[Tomorrow at] LT',
28 + nextWeek: 'dddd [at] LT',
29 + lastDay: '[Yesterday at] LT',
30 + lastWeek: '[Last] dddd [at] LT',
31 + sameElse: 'L',
32 + },
33 + relativeTime: {
34 + future: 'in %s',
35 + past: '%s ago',
36 + s: 'a few seconds',
37 + ss: '%d seconds',
38 + m: 'a minute',
39 + mm: '%d minutes',
40 + h: 'an hour',
41 + hh: '%d hours',
42 + d: 'a day',
43 + dd: '%d days',
44 + M: 'a month',
45 + MM: '%d months',
46 + y: 'a year',
47 + yy: '%d years',
48 + },
49 + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
50 + ordinal: function (number) {
51 + var b = number % 10,
52 + output =
53 + ~~((number % 100) / 10) === 1
54 + ? 'th'
55 + : b === 1
56 + ? 'st'
57 + : b === 2
58 + ? 'nd'
59 + : b === 3
60 + ? 'rd'
61 + : 'th';
62 + return number + output;
63 + },
64 + week: {
65 + dow: 1, // Monday is the first day of the week.
66 + doy: 4, // The week that contains Jan 4th is the first week of the year.
67 + },
68 +});
1 +//! moment.js locale configuration
2 +//! locale : Esperanto [eo]
3 +//! author : Colin Dean : https://github.com/colindean
4 +//! author : Mia Nordentoft Imperatori : https://github.com/miestasmia
5 +//! comment : miestasmia corrected the translation by colindean
6 +//! comment : Vivakvo corrected the translation by colindean and miestasmia
7 +
8 +import moment from '../moment';
9 +
10 +export default moment.defineLocale('eo', {
11 + months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split(
12 + '_'
13 + ),
14 + monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec'.split('_'),
15 + weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),
16 + weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),
17 + weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'),
18 + longDateFormat: {
19 + LT: 'HH:mm',
20 + LTS: 'HH:mm:ss',
21 + L: 'YYYY-MM-DD',
22 + LL: '[la] D[-an de] MMMM, YYYY',
23 + LLL: '[la] D[-an de] MMMM, YYYY HH:mm',
24 + LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm',
25 + llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm',
26 + },
27 + meridiemParse: /[ap]\.t\.m/i,
28 + isPM: function (input) {
29 + return input.charAt(0).toLowerCase() === 'p';
30 + },
31 + meridiem: function (hours, minutes, isLower) {
32 + if (hours > 11) {
33 + return isLower ? 'p.t.m.' : 'P.T.M.';
34 + } else {
35 + return isLower ? 'a.t.m.' : 'A.T.M.';
36 + }
37 + },
38 + calendar: {
39 + sameDay: '[Hodiaŭ je] LT',
40 + nextDay: '[Morgaŭ je] LT',
41 + nextWeek: 'dddd[n je] LT',
42 + lastDay: '[Hieraŭ je] LT',
43 + lastWeek: '[pasintan] dddd[n je] LT',
44 + sameElse: 'L',
45 + },
46 + relativeTime: {
47 + future: 'post %s',
48 + past: 'antaŭ %s',
49 + s: 'kelkaj sekundoj',
50 + ss: '%d sekundoj',
51 + m: 'unu minuto',
52 + mm: '%d minutoj',
53 + h: 'unu horo',
54 + hh: '%d horoj',
55 + d: 'unu tago', //ne 'diurno', ĉar estas uzita por proksimumo
56 + dd: '%d tagoj',
57 + M: 'unu monato',
58 + MM: '%d monatoj',
59 + y: 'unu jaro',
60 + yy: '%d jaroj',
61 + },
62 + dayOfMonthOrdinalParse: /\d{1,2}a/,
63 + ordinal: '%da',
64 + week: {
65 + dow: 1, // Monday is the first day of the week.
66 + doy: 7, // The week that contains Jan 7th is the first week of the year.
67 + },
68 +});
1 +//! moment.js locale configuration
2 +//! locale : Spanish (Dominican Republic) [es-do]
3 +
4 +import moment from '../moment';
5 +
6 +var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
7 + '_'
8 + ),
9 + monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
10 + monthsParse = [
11 + /^ene/i,
12 + /^feb/i,
13 + /^mar/i,
14 + /^abr/i,
15 + /^may/i,
16 + /^jun/i,
17 + /^jul/i,
18 + /^ago/i,
19 + /^sep/i,
20 + /^oct/i,
21 + /^nov/i,
22 + /^dic/i,
23 + ],
24 + monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
25 +
26 +export default moment.defineLocale('es-do', {
27 + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
28 + '_'
29 + ),
30 + monthsShort: function (m, format) {
31 + if (!m) {
32 + return monthsShortDot;
33 + } else if (/-MMM-/.test(format)) {
34 + return monthsShort[m.month()];
35 + } else {
36 + return monthsShortDot[m.month()];
37 + }
38 + },
39 + monthsRegex: monthsRegex,
40 + monthsShortRegex: monthsRegex,
41 + monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
42 + monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
43 + monthsParse: monthsParse,
44 + longMonthsParse: monthsParse,
45 + shortMonthsParse: monthsParse,
46 + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
47 + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
48 + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
49 + weekdaysParseExact: true,
50 + longDateFormat: {
51 + LT: 'h:mm A',
52 + LTS: 'h:mm:ss A',
53 + L: 'DD/MM/YYYY',
54 + LL: 'D [de] MMMM [de] YYYY',
55 + LLL: 'D [de] MMMM [de] YYYY h:mm A',
56 + LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',
57 + },
58 + calendar: {
59 + sameDay: function () {
60 + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
61 + },
62 + nextDay: function () {
63 + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
64 + },
65 + nextWeek: function () {
66 + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
67 + },
68 + lastDay: function () {
69 + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
70 + },
71 + lastWeek: function () {
72 + return (
73 + '[el] dddd [pasado a la' +
74 + (this.hours() !== 1 ? 's' : '') +
75 + '] LT'
76 + );
77 + },
78 + sameElse: 'L',
79 + },
80 + relativeTime: {
81 + future: 'en %s',
82 + past: 'hace %s',
83 + s: 'unos segundos',
84 + ss: '%d segundos',
85 + m: 'un minuto',
86 + mm: '%d minutos',
87 + h: 'una hora',
88 + hh: '%d horas',
89 + d: 'un día',
90 + dd: '%d días',
91 + w: 'una semana',
92 + ww: '%d semanas',
93 + M: 'un mes',
94 + MM: '%d meses',
95 + y: 'un año',
96 + yy: '%d años',
97 + },
98 + dayOfMonthOrdinalParse: /\d{1,2}º/,
99 + ordinal: '%dº',
100 + week: {
101 + dow: 1, // Monday is the first day of the week.
102 + doy: 4, // The week that contains Jan 4th is the first week of the year.
103 + },
104 +});
1 +//! moment.js locale configuration
2 +//! locale : Spanish (Mexico) [es-mx]
3 +//! author : JC Franco : https://github.com/jcfranco
4 +
5 +import moment from '../moment';
6 +
7 +var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
8 + '_'
9 + ),
10 + monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
11 + monthsParse = [
12 + /^ene/i,
13 + /^feb/i,
14 + /^mar/i,
15 + /^abr/i,
16 + /^may/i,
17 + /^jun/i,
18 + /^jul/i,
19 + /^ago/i,
20 + /^sep/i,
21 + /^oct/i,
22 + /^nov/i,
23 + /^dic/i,
24 + ],
25 + monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
26 +
27 +export default moment.defineLocale('es-mx', {
28 + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
29 + '_'
30 + ),
31 + monthsShort: function (m, format) {
32 + if (!m) {
33 + return monthsShortDot;
34 + } else if (/-MMM-/.test(format)) {
35 + return monthsShort[m.month()];
36 + } else {
37 + return monthsShortDot[m.month()];
38 + }
39 + },
40 + monthsRegex: monthsRegex,
41 + monthsShortRegex: monthsRegex,
42 + monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
43 + monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
44 + monthsParse: monthsParse,
45 + longMonthsParse: monthsParse,
46 + shortMonthsParse: monthsParse,
47 + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
48 + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
49 + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
50 + weekdaysParseExact: true,
51 + longDateFormat: {
52 + LT: 'H:mm',
53 + LTS: 'H:mm:ss',
54 + L: 'DD/MM/YYYY',
55 + LL: 'D [de] MMMM [de] YYYY',
56 + LLL: 'D [de] MMMM [de] YYYY H:mm',
57 + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
58 + },
59 + calendar: {
60 + sameDay: function () {
61 + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
62 + },
63 + nextDay: function () {
64 + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
65 + },
66 + nextWeek: function () {
67 + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
68 + },
69 + lastDay: function () {
70 + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
71 + },
72 + lastWeek: function () {
73 + return (
74 + '[el] dddd [pasado a la' +
75 + (this.hours() !== 1 ? 's' : '') +
76 + '] LT'
77 + );
78 + },
79 + sameElse: 'L',
80 + },
81 + relativeTime: {
82 + future: 'en %s',
83 + past: 'hace %s',
84 + s: 'unos segundos',
85 + ss: '%d segundos',
86 + m: 'un minuto',
87 + mm: '%d minutos',
88 + h: 'una hora',
89 + hh: '%d horas',
90 + d: 'un día',
91 + dd: '%d días',
92 + w: 'una semana',
93 + ww: '%d semanas',
94 + M: 'un mes',
95 + MM: '%d meses',
96 + y: 'un año',
97 + yy: '%d años',
98 + },
99 + dayOfMonthOrdinalParse: /\d{1,2}º/,
100 + ordinal: '%dº',
101 + week: {
102 + dow: 0, // Sunday is the first day of the week.
103 + doy: 4, // The week that contains Jan 4th is the first week of the year.
104 + },
105 + invalidDate: 'Fecha inválida',
106 +});
1 +//! moment.js locale configuration
2 +//! locale : Spanish (United States) [es-us]
3 +//! author : bustta : https://github.com/bustta
4 +//! author : chrisrodz : https://github.com/chrisrodz
5 +
6 +import moment from '../moment';
7 +
8 +var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
9 + '_'
10 + ),
11 + monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
12 + monthsParse = [
13 + /^ene/i,
14 + /^feb/i,
15 + /^mar/i,
16 + /^abr/i,
17 + /^may/i,
18 + /^jun/i,
19 + /^jul/i,
20 + /^ago/i,
21 + /^sep/i,
22 + /^oct/i,
23 + /^nov/i,
24 + /^dic/i,
25 + ],
26 + monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
27 +
28 +export default moment.defineLocale('es-us', {
29 + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
30 + '_'
31 + ),
32 + monthsShort: function (m, format) {
33 + if (!m) {
34 + return monthsShortDot;
35 + } else if (/-MMM-/.test(format)) {
36 + return monthsShort[m.month()];
37 + } else {
38 + return monthsShortDot[m.month()];
39 + }
40 + },
41 + monthsRegex: monthsRegex,
42 + monthsShortRegex: monthsRegex,
43 + monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
44 + monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
45 + monthsParse: monthsParse,
46 + longMonthsParse: monthsParse,
47 + shortMonthsParse: monthsParse,
48 + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
49 + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
50 + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
51 + weekdaysParseExact: true,
52 + longDateFormat: {
53 + LT: 'h:mm A',
54 + LTS: 'h:mm:ss A',
55 + L: 'MM/DD/YYYY',
56 + LL: 'D [de] MMMM [de] YYYY',
57 + LLL: 'D [de] MMMM [de] YYYY h:mm A',
58 + LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',
59 + },
60 + calendar: {
61 + sameDay: function () {
62 + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
63 + },
64 + nextDay: function () {
65 + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
66 + },
67 + nextWeek: function () {
68 + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
69 + },
70 + lastDay: function () {
71 + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
72 + },
73 + lastWeek: function () {
74 + return (
75 + '[el] dddd [pasado a la' +
76 + (this.hours() !== 1 ? 's' : '') +
77 + '] LT'
78 + );
79 + },
80 + sameElse: 'L',
81 + },
82 + relativeTime: {
83 + future: 'en %s',
84 + past: 'hace %s',
85 + s: 'unos segundos',
86 + ss: '%d segundos',
87 + m: 'un minuto',
88 + mm: '%d minutos',
89 + h: 'una hora',
90 + hh: '%d horas',
91 + d: 'un día',
92 + dd: '%d días',
93 + w: 'una semana',
94 + ww: '%d semanas',
95 + M: 'un mes',
96 + MM: '%d meses',
97 + y: 'un año',
98 + yy: '%d años',
99 + },
100 + dayOfMonthOrdinalParse: /\d{1,2}º/,
101 + ordinal: '%dº',
102 + week: {
103 + dow: 0, // Sunday is the first day of the week.
104 + doy: 6, // The week that contains Jan 6th is the first week of the year.
105 + },
106 +});
1 +//! moment.js locale configuration
2 +//! locale : Spanish [es]
3 +//! author : Julio Napurí : https://github.com/julionc
4 +
5 +import moment from '../moment';
6 +
7 +var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
8 + '_'
9 + ),
10 + monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
11 + monthsParse = [
12 + /^ene/i,
13 + /^feb/i,
14 + /^mar/i,
15 + /^abr/i,
16 + /^may/i,
17 + /^jun/i,
18 + /^jul/i,
19 + /^ago/i,
20 + /^sep/i,
21 + /^oct/i,
22 + /^nov/i,
23 + /^dic/i,
24 + ],
25 + monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
26 +
27 +export default moment.defineLocale('es', {
28 + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
29 + '_'
30 + ),
31 + monthsShort: function (m, format) {
32 + if (!m) {
33 + return monthsShortDot;
34 + } else if (/-MMM-/.test(format)) {
35 + return monthsShort[m.month()];
36 + } else {
37 + return monthsShortDot[m.month()];
38 + }
39 + },
40 + monthsRegex: monthsRegex,
41 + monthsShortRegex: monthsRegex,
42 + monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
43 + monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
44 + monthsParse: monthsParse,
45 + longMonthsParse: monthsParse,
46 + shortMonthsParse: monthsParse,
47 + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
48 + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
49 + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
50 + weekdaysParseExact: true,
51 + longDateFormat: {
52 + LT: 'H:mm',
53 + LTS: 'H:mm:ss',
54 + L: 'DD/MM/YYYY',
55 + LL: 'D [de] MMMM [de] YYYY',
56 + LLL: 'D [de] MMMM [de] YYYY H:mm',
57 + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
58 + },
59 + calendar: {
60 + sameDay: function () {
61 + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
62 + },
63 + nextDay: function () {
64 + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
65 + },
66 + nextWeek: function () {
67 + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
68 + },
69 + lastDay: function () {
70 + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
71 + },
72 + lastWeek: function () {
73 + return (
74 + '[el] dddd [pasado a la' +
75 + (this.hours() !== 1 ? 's' : '') +
76 + '] LT'
77 + );
78 + },
79 + sameElse: 'L',
80 + },
81 + relativeTime: {
82 + future: 'en %s',
83 + past: 'hace %s',
84 + s: 'unos segundos',
85 + ss: '%d segundos',
86 + m: 'un minuto',
87 + mm: '%d minutos',
88 + h: 'una hora',
89 + hh: '%d horas',
90 + d: 'un día',
91 + dd: '%d días',
92 + w: 'una semana',
93 + ww: '%d semanas',
94 + M: 'un mes',
95 + MM: '%d meses',
96 + y: 'un año',
97 + yy: '%d años',
98 + },
99 + dayOfMonthOrdinalParse: /\d{1,2}º/,
100 + ordinal: '%dº',
101 + week: {
102 + dow: 1, // Monday is the first day of the week.
103 + doy: 4, // The week that contains Jan 4th is the first week of the year.
104 + },
105 + invalidDate: 'Fecha inválida',
106 +});
1 +//! moment.js locale configuration
2 +//! locale : Estonian [et]
3 +//! author : Henry Kehlmann : https://github.com/madhenry
4 +//! improvements : Illimar Tambek : https://github.com/ragulka
5 +
6 +import moment from '../moment';
7 +
8 +function processRelativeTime(number, withoutSuffix, key, isFuture) {
9 + var format = {
10 + s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'],
11 + ss: [number + 'sekundi', number + 'sekundit'],
12 + m: ['ühe minuti', 'üks minut'],
13 + mm: [number + ' minuti', number + ' minutit'],
14 + h: ['ühe tunni', 'tund aega', 'üks tund'],
15 + hh: [number + ' tunni', number + ' tundi'],
16 + d: ['ühe päeva', 'üks päev'],
17 + M: ['kuu aja', 'kuu aega', 'üks kuu'],
18 + MM: [number + ' kuu', number + ' kuud'],
19 + y: ['ühe aasta', 'aasta', 'üks aasta'],
20 + yy: [number + ' aasta', number + ' aastat'],
21 + };
22 + if (withoutSuffix) {
23 + return format[key][2] ? format[key][2] : format[key][1];
24 + }
25 + return isFuture ? format[key][0] : format[key][1];
26 +}
27 +
28 +export default moment.defineLocale('et', {
29 + months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split(
30 + '_'
31 + ),
32 + monthsShort: 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split(
33 + '_'
34 + ),
35 + weekdays: 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split(
36 + '_'
37 + ),
38 + weekdaysShort: 'P_E_T_K_N_R_L'.split('_'),
39 + weekdaysMin: 'P_E_T_K_N_R_L'.split('_'),
40 + longDateFormat: {
41 + LT: 'H:mm',
42 + LTS: 'H:mm:ss',
43 + L: 'DD.MM.YYYY',
44 + LL: 'D. MMMM YYYY',
45 + LLL: 'D. MMMM YYYY H:mm',
46 + LLLL: 'dddd, D. MMMM YYYY H:mm',
47 + },
48 + calendar: {
49 + sameDay: '[Täna,] LT',
50 + nextDay: '[Homme,] LT',
51 + nextWeek: '[Järgmine] dddd LT',
52 + lastDay: '[Eile,] LT',
53 + lastWeek: '[Eelmine] dddd LT',
54 + sameElse: 'L',
55 + },
56 + relativeTime: {
57 + future: '%s pärast',
58 + past: '%s tagasi',
59 + s: processRelativeTime,
60 + ss: processRelativeTime,
61 + m: processRelativeTime,
62 + mm: processRelativeTime,
63 + h: processRelativeTime,
64 + hh: processRelativeTime,
65 + d: processRelativeTime,
66 + dd: '%d päeva',
67 + M: processRelativeTime,
68 + MM: processRelativeTime,
69 + y: processRelativeTime,
70 + yy: processRelativeTime,
71 + },
72 + dayOfMonthOrdinalParse: /\d{1,2}\./,
73 + ordinal: '%d.',
74 + week: {
75 + dow: 1, // Monday is the first day of the week.
76 + doy: 4, // The week that contains Jan 4th is the first week of the year.
77 + },
78 +});
1 +//! moment.js locale configuration
2 +//! locale : Basque [eu]
3 +//! author : Eneko Illarramendi : https://github.com/eillarra
4 +
5 +import moment from '../moment';
6 +
7 +export default moment.defineLocale('eu', {
8 + months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split(
9 + '_'
10 + ),
11 + monthsShort: 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split(
12 + '_'
13 + ),
14 + monthsParseExact: true,
15 + weekdays: 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split(
16 + '_'
17 + ),
18 + weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'),
19 + weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'),
20 + weekdaysParseExact: true,
21 + longDateFormat: {
22 + LT: 'HH:mm',
23 + LTS: 'HH:mm:ss',
24 + L: 'YYYY-MM-DD',
25 + LL: 'YYYY[ko] MMMM[ren] D[a]',
26 + LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm',
27 + LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',
28 + l: 'YYYY-M-D',
29 + ll: 'YYYY[ko] MMM D[a]',
30 + lll: 'YYYY[ko] MMM D[a] HH:mm',
31 + llll: 'ddd, YYYY[ko] MMM D[a] HH:mm',
32 + },
33 + calendar: {
34 + sameDay: '[gaur] LT[etan]',
35 + nextDay: '[bihar] LT[etan]',
36 + nextWeek: 'dddd LT[etan]',
37 + lastDay: '[atzo] LT[etan]',
38 + lastWeek: '[aurreko] dddd LT[etan]',
39 + sameElse: 'L',
40 + },
41 + relativeTime: {
42 + future: '%s barru',
43 + past: 'duela %s',
44 + s: 'segundo batzuk',
45 + ss: '%d segundo',
46 + m: 'minutu bat',
47 + mm: '%d minutu',
48 + h: 'ordu bat',
49 + hh: '%d ordu',
50 + d: 'egun bat',
51 + dd: '%d egun',
52 + M: 'hilabete bat',
53 + MM: '%d hilabete',
54 + y: 'urte bat',
55 + yy: '%d urte',
56 + },
57 + dayOfMonthOrdinalParse: /\d{1,2}\./,
58 + ordinal: '%d.',
59 + week: {
60 + dow: 1, // Monday is the first day of the week.
61 + doy: 7, // The week that contains Jan 7th is the first week of the year.
62 + },
63 +});
1 +//! moment.js locale configuration
2 +//! locale : Persian [fa]
3 +//! author : Ebrahim Byagowi : https://github.com/ebraminio
4 +
5 +import moment from '../moment';
6 +
7 +var symbolMap = {
8 + 1: '۱',
9 + 2: '۲',
10 + 3: '۳',
11 + 4: '۴',
12 + 5: '۵',
13 + 6: '۶',
14 + 7: '۷',
15 + 8: '۸',
16 + 9: '۹',
17 + 0: '۰',
18 + },
19 + numberMap = {
20 + '۱': '1',
21 + '۲': '2',
22 + '۳': '3',
23 + '۴': '4',
24 + '۵': '5',
25 + '۶': '6',
26 + '۷': '7',
27 + '۸': '8',
28 + '۹': '9',
29 + '۰': '0',
30 + };
31 +
32 +export default moment.defineLocale('fa', {
33 + months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(
34 + '_'
35 + ),
36 + monthsShort: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(
37 + '_'
38 + ),
39 + weekdays: 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split(
40 + '_'
41 + ),
42 + weekdaysShort: 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split(
43 + '_'
44 + ),
45 + weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'),
46 + weekdaysParseExact: true,
47 + longDateFormat: {
48 + LT: 'HH:mm',
49 + LTS: 'HH:mm:ss',
50 + L: 'DD/MM/YYYY',
51 + LL: 'D MMMM YYYY',
52 + LLL: 'D MMMM YYYY HH:mm',
53 + LLLL: 'dddd, D MMMM YYYY HH:mm',
54 + },
55 + meridiemParse: /قبل از ظهر|بعد از ظهر/,
56 + isPM: function (input) {
57 + return /بعد از ظهر/.test(input);
58 + },
59 + meridiem: function (hour, minute, isLower) {
60 + if (hour < 12) {
61 + return 'قبل از ظهر';
62 + } else {
63 + return 'بعد از ظهر';
64 + }
65 + },
66 + calendar: {
67 + sameDay: '[امروز ساعت] LT',
68 + nextDay: '[فردا ساعت] LT',
69 + nextWeek: 'dddd [ساعت] LT',
70 + lastDay: '[دیروز ساعت] LT',
71 + lastWeek: 'dddd [پیش] [ساعت] LT',
72 + sameElse: 'L',
73 + },
74 + relativeTime: {
75 + future: 'در %s',
76 + past: '%s پیش',
77 + s: 'چند ثانیه',
78 + ss: '%d ثانیه',
79 + m: 'یک دقیقه',
80 + mm: '%d دقیقه',
81 + h: 'یک ساعت',
82 + hh: '%d ساعت',
83 + d: 'یک روز',
84 + dd: '%d روز',
85 + M: 'یک ماه',
86 + MM: '%d ماه',
87 + y: 'یک سال',
88 + yy: '%d سال',
89 + },
90 + preparse: function (string) {
91 + return string
92 + .replace(/[۰-۹]/g, function (match) {
93 + return numberMap[match];
94 + })
95 + .replace(/،/g, ',');
96 + },
97 + postformat: function (string) {
98 + return string
99 + .replace(/\d/g, function (match) {
100 + return symbolMap[match];
101 + })
102 + .replace(/,/g, '،');
103 + },
104 + dayOfMonthOrdinalParse: /\d{1,2}م/,
105 + ordinal: '%dم',
106 + week: {
107 + dow: 6, // Saturday is the first day of the week.
108 + doy: 12, // The week that contains Jan 12th is the first week of the year.
109 + },
110 +});
1 +//! moment.js locale configuration
2 +//! locale : Finnish [fi]
3 +//! author : Tarmo Aidantausta : https://github.com/bleadof
4 +
5 +import moment from '../moment';
6 +
7 +var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(
8 + ' '
9 + ),
10 + numbersFuture = [
11 + 'nolla',
12 + 'yhden',
13 + 'kahden',
14 + 'kolmen',
15 + 'neljän',
16 + 'viiden',
17 + 'kuuden',
18 + numbersPast[7],
19 + numbersPast[8],
20 + numbersPast[9],
21 + ];
22 +function translate(number, withoutSuffix, key, isFuture) {
23 + var result = '';
24 + switch (key) {
25 + case 's':
26 + return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';
27 + case 'ss':
28 + result = isFuture ? 'sekunnin' : 'sekuntia';
29 + break;
30 + case 'm':
31 + return isFuture ? 'minuutin' : 'minuutti';
32 + case 'mm':
33 + result = isFuture ? 'minuutin' : 'minuuttia';
34 + break;
35 + case 'h':
36 + return isFuture ? 'tunnin' : 'tunti';
37 + case 'hh':
38 + result = isFuture ? 'tunnin' : 'tuntia';
39 + break;
40 + case 'd':
41 + return isFuture ? 'päivän' : 'päivä';
42 + case 'dd':
43 + result = isFuture ? 'päivän' : 'päivää';
44 + break;
45 + case 'M':
46 + return isFuture ? 'kuukauden' : 'kuukausi';
47 + case 'MM':
48 + result = isFuture ? 'kuukauden' : 'kuukautta';
49 + break;
50 + case 'y':
51 + return isFuture ? 'vuoden' : 'vuosi';
52 + case 'yy':
53 + result = isFuture ? 'vuoden' : 'vuotta';
54 + break;
55 + }
56 + result = verbalNumber(number, isFuture) + ' ' + result;
57 + return result;
58 +}
59 +function verbalNumber(number, isFuture) {
60 + return number < 10
61 + ? isFuture
62 + ? numbersFuture[number]
63 + : numbersPast[number]
64 + : number;
65 +}
66 +
67 +export default moment.defineLocale('fi', {
68 + months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split(
69 + '_'
70 + ),
71 + monthsShort: 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split(
72 + '_'
73 + ),
74 + weekdays: 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split(
75 + '_'
76 + ),
77 + weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'),
78 + weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'),
79 + longDateFormat: {
80 + LT: 'HH.mm',
81 + LTS: 'HH.mm.ss',
82 + L: 'DD.MM.YYYY',
83 + LL: 'Do MMMM[ta] YYYY',
84 + LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm',
85 + LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm',
86 + l: 'D.M.YYYY',
87 + ll: 'Do MMM YYYY',
88 + lll: 'Do MMM YYYY, [klo] HH.mm',
89 + llll: 'ddd, Do MMM YYYY, [klo] HH.mm',
90 + },
91 + calendar: {
92 + sameDay: '[tänään] [klo] LT',
93 + nextDay: '[huomenna] [klo] LT',
94 + nextWeek: 'dddd [klo] LT',
95 + lastDay: '[eilen] [klo] LT',
96 + lastWeek: '[viime] dddd[na] [klo] LT',
97 + sameElse: 'L',
98 + },
99 + relativeTime: {
100 + future: '%s päästä',
101 + past: '%s sitten',
102 + s: translate,
103 + ss: translate,
104 + m: translate,
105 + mm: translate,
106 + h: translate,
107 + hh: translate,
108 + d: translate,
109 + dd: translate,
110 + M: translate,
111 + MM: translate,
112 + y: translate,
113 + yy: translate,
114 + },
115 + dayOfMonthOrdinalParse: /\d{1,2}\./,
116 + ordinal: '%d.',
117 + week: {
118 + dow: 1, // Monday is the first day of the week.
119 + doy: 4, // The week that contains Jan 4th is the first week of the year.
120 + },
121 +});
1 +//! moment.js locale configuration
2 +//! locale : Filipino [fil]
3 +//! author : Dan Hagman : https://github.com/hagmandan
4 +//! author : Matthew Co : https://github.com/matthewdeeco
5 +
6 +import moment from '../moment';
7 +
8 +export default moment.defineLocale('fil', {
9 + months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
10 + '_'
11 + ),
12 + monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
13 + weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(
14 + '_'
15 + ),
16 + weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
17 + weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
18 + longDateFormat: {
19 + LT: 'HH:mm',
20 + LTS: 'HH:mm:ss',
21 + L: 'MM/D/YYYY',
22 + LL: 'MMMM D, YYYY',
23 + LLL: 'MMMM D, YYYY HH:mm',
24 + LLLL: 'dddd, MMMM DD, YYYY HH:mm',
25 + },
26 + calendar: {
27 + sameDay: 'LT [ngayong araw]',
28 + nextDay: '[Bukas ng] LT',
29 + nextWeek: 'LT [sa susunod na] dddd',
30 + lastDay: 'LT [kahapon]',
31 + lastWeek: 'LT [noong nakaraang] dddd',
32 + sameElse: 'L',
33 + },
34 + relativeTime: {
35 + future: 'sa loob ng %s',
36 + past: '%s ang nakalipas',
37 + s: 'ilang segundo',
38 + ss: '%d segundo',
39 + m: 'isang minuto',
40 + mm: '%d minuto',
41 + h: 'isang oras',
42 + hh: '%d oras',
43 + d: 'isang araw',
44 + dd: '%d araw',
45 + M: 'isang buwan',
46 + MM: '%d buwan',
47 + y: 'isang taon',
48 + yy: '%d taon',
49 + },
50 + dayOfMonthOrdinalParse: /\d{1,2}/,
51 + ordinal: function (number) {
52 + return number;
53 + },
54 + week: {
55 + dow: 1, // Monday is the first day of the week.
56 + doy: 4, // The week that contains Jan 4th is the first week of the year.
57 + },
58 +});
1 +//! moment.js locale configuration
2 +//! locale : Faroese [fo]
3 +//! author : Ragnar Johannesen : https://github.com/ragnar123
4 +//! author : Kristian Sakarisson : https://github.com/sakarisson
5 +
6 +import moment from '../moment';
7 +
8 +export default moment.defineLocale('fo', {
9 + months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split(
10 + '_'
11 + ),
12 + monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
13 + weekdays: 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split(
14 + '_'
15 + ),
16 + weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'),
17 + weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'),
18 + longDateFormat: {
19 + LT: 'HH:mm',
20 + LTS: 'HH:mm:ss',
21 + L: 'DD/MM/YYYY',
22 + LL: 'D MMMM YYYY',
23 + LLL: 'D MMMM YYYY HH:mm',
24 + LLLL: 'dddd D. MMMM, YYYY HH:mm',
25 + },
26 + calendar: {
27 + sameDay: '[Í dag kl.] LT',
28 + nextDay: '[Í morgin kl.] LT',
29 + nextWeek: 'dddd [kl.] LT',
30 + lastDay: '[Í gjár kl.] LT',
31 + lastWeek: '[síðstu] dddd [kl] LT',
32 + sameElse: 'L',
33 + },
34 + relativeTime: {
35 + future: 'um %s',
36 + past: '%s síðani',
37 + s: 'fá sekund',
38 + ss: '%d sekundir',
39 + m: 'ein minuttur',
40 + mm: '%d minuttir',
41 + h: 'ein tími',
42 + hh: '%d tímar',
43 + d: 'ein dagur',
44 + dd: '%d dagar',
45 + M: 'ein mánaður',
46 + MM: '%d mánaðir',
47 + y: 'eitt ár',
48 + yy: '%d ár',
49 + },
50 + dayOfMonthOrdinalParse: /\d{1,2}\./,
51 + ordinal: '%d.',
52 + week: {
53 + dow: 1, // Monday is the first day of the week.
54 + doy: 4, // The week that contains Jan 4th is the first week of the year.
55 + },
56 +});
1 +//! moment.js locale configuration
2 +//! locale : French (Canada) [fr-ca]
3 +//! author : Jonathan Abourbih : https://github.com/jonbca
4 +
5 +import moment from '../moment';
6 +
7 +export default moment.defineLocale('fr-ca', {
8 + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
9 + '_'
10 + ),
11 + monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
12 + '_'
13 + ),
14 + monthsParseExact: true,
15 + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
16 + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
17 + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
18 + weekdaysParseExact: true,
19 + longDateFormat: {
20 + LT: 'HH:mm',
21 + LTS: 'HH:mm:ss',
22 + L: 'YYYY-MM-DD',
23 + LL: 'D MMMM YYYY',
24 + LLL: 'D MMMM YYYY HH:mm',
25 + LLLL: 'dddd D MMMM YYYY HH:mm',
26 + },
27 + calendar: {
28 + sameDay: '[Aujourd’hui à] LT',
29 + nextDay: '[Demain à] LT',
30 + nextWeek: 'dddd [à] LT',
31 + lastDay: '[Hier à] LT',
32 + lastWeek: 'dddd [dernier à] LT',
33 + sameElse: 'L',
34 + },
35 + relativeTime: {
36 + future: 'dans %s',
37 + past: 'il y a %s',
38 + s: 'quelques secondes',
39 + ss: '%d secondes',
40 + m: 'une minute',
41 + mm: '%d minutes',
42 + h: 'une heure',
43 + hh: '%d heures',
44 + d: 'un jour',
45 + dd: '%d jours',
46 + M: 'un mois',
47 + MM: '%d mois',
48 + y: 'un an',
49 + yy: '%d ans',
50 + },
51 + dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
52 + ordinal: function (number, period) {
53 + switch (period) {
54 + // Words with masculine grammatical gender: mois, trimestre, jour
55 + default:
56 + case 'M':
57 + case 'Q':
58 + case 'D':
59 + case 'DDD':
60 + case 'd':
61 + return number + (number === 1 ? 'er' : 'e');
62 +
63 + // Words with feminine grammatical gender: semaine
64 + case 'w':
65 + case 'W':
66 + return number + (number === 1 ? 're' : 'e');
67 + }
68 + },
69 +});
1 +//! moment.js locale configuration
2 +//! locale : French (Switzerland) [fr-ch]
3 +//! author : Gaspard Bucher : https://github.com/gaspard
4 +
5 +import moment from '../moment';
6 +
7 +export default moment.defineLocale('fr-ch', {
8 + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
9 + '_'
10 + ),
11 + monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
12 + '_'
13 + ),
14 + monthsParseExact: true,
15 + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
16 + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
17 + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
18 + weekdaysParseExact: true,
19 + longDateFormat: {
20 + LT: 'HH:mm',
21 + LTS: 'HH:mm:ss',
22 + L: 'DD.MM.YYYY',
23 + LL: 'D MMMM YYYY',
24 + LLL: 'D MMMM YYYY HH:mm',
25 + LLLL: 'dddd D MMMM YYYY HH:mm',
26 + },
27 + calendar: {
28 + sameDay: '[Aujourd’hui à] LT',
29 + nextDay: '[Demain à] LT',
30 + nextWeek: 'dddd [à] LT',
31 + lastDay: '[Hier à] LT',
32 + lastWeek: 'dddd [dernier à] LT',
33 + sameElse: 'L',
34 + },
35 + relativeTime: {
36 + future: 'dans %s',
37 + past: 'il y a %s',
38 + s: 'quelques secondes',
39 + ss: '%d secondes',
40 + m: 'une minute',
41 + mm: '%d minutes',
42 + h: 'une heure',
43 + hh: '%d heures',
44 + d: 'un jour',
45 + dd: '%d jours',
46 + M: 'un mois',
47 + MM: '%d mois',
48 + y: 'un an',
49 + yy: '%d ans',
50 + },
51 + dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
52 + ordinal: function (number, period) {
53 + switch (period) {
54 + // Words with masculine grammatical gender: mois, trimestre, jour
55 + default:
56 + case 'M':
57 + case 'Q':
58 + case 'D':
59 + case 'DDD':
60 + case 'd':
61 + return number + (number === 1 ? 'er' : 'e');
62 +
63 + // Words with feminine grammatical gender: semaine
64 + case 'w':
65 + case 'W':
66 + return number + (number === 1 ? 're' : 'e');
67 + }
68 + },
69 + week: {
70 + dow: 1, // Monday is the first day of the week.
71 + doy: 4, // The week that contains Jan 4th is the first week of the year.
72 + },
73 +});
1 +//! moment.js locale configuration
2 +//! locale : French [fr]
3 +//! author : John Fischer : https://github.com/jfroffice
4 +
5 +import moment from '../moment';
6 +
7 +var monthsStrictRegex = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
8 + monthsShortStrictRegex = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,
9 + monthsRegex = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
10 + monthsParse = [
11 + /^janv/i,
12 + /^févr/i,
13 + /^mars/i,
14 + /^avr/i,
15 + /^mai/i,
16 + /^juin/i,
17 + /^juil/i,
18 + /^août/i,
19 + /^sept/i,
20 + /^oct/i,
21 + /^nov/i,
22 + /^déc/i,
23 + ];
24 +
25 +export default moment.defineLocale('fr', {
26 + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
27 + '_'
28 + ),
29 + monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
30 + '_'
31 + ),
32 + monthsRegex: monthsRegex,
33 + monthsShortRegex: monthsRegex,
34 + monthsStrictRegex: monthsStrictRegex,
35 + monthsShortStrictRegex: monthsShortStrictRegex,
36 + monthsParse: monthsParse,
37 + longMonthsParse: monthsParse,
38 + shortMonthsParse: monthsParse,
39 + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
40 + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
41 + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
42 + weekdaysParseExact: true,
43 + longDateFormat: {
44 + LT: 'HH:mm',
45 + LTS: 'HH:mm:ss',
46 + L: 'DD/MM/YYYY',
47 + LL: 'D MMMM YYYY',
48 + LLL: 'D MMMM YYYY HH:mm',
49 + LLLL: 'dddd D MMMM YYYY HH:mm',
50 + },
51 + calendar: {
52 + sameDay: '[Aujourd’hui à] LT',
53 + nextDay: '[Demain à] LT',
54 + nextWeek: 'dddd [à] LT',
55 + lastDay: '[Hier à] LT',
56 + lastWeek: 'dddd [dernier à] LT',
57 + sameElse: 'L',
58 + },
59 + relativeTime: {
60 + future: 'dans %s',
61 + past: 'il y a %s',
62 + s: 'quelques secondes',
63 + ss: '%d secondes',
64 + m: 'une minute',
65 + mm: '%d minutes',
66 + h: 'une heure',
67 + hh: '%d heures',
68 + d: 'un jour',
69 + dd: '%d jours',
70 + w: 'une semaine',
71 + ww: '%d semaines',
72 + M: 'un mois',
73 + MM: '%d mois',
74 + y: 'un an',
75 + yy: '%d ans',
76 + },
77 + dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
78 + ordinal: function (number, period) {
79 + switch (period) {
80 + // TODO: Return 'e' when day of month > 1. Move this case inside
81 + // block for masculine words below.
82 + // See https://github.com/moment/moment/issues/3375
83 + case 'D':
84 + return number + (number === 1 ? 'er' : '');
85 +
86 + // Words with masculine grammatical gender: mois, trimestre, jour
87 + default:
88 + case 'M':
89 + case 'Q':
90 + case 'DDD':
91 + case 'd':
92 + return number + (number === 1 ? 'er' : 'e');
93 +
94 + // Words with feminine grammatical gender: semaine
95 + case 'w':
96 + case 'W':
97 + return number + (number === 1 ? 're' : 'e');
98 + }
99 + },
100 + week: {
101 + dow: 1, // Monday is the first day of the week.
102 + doy: 4, // The week that contains Jan 4th is the first week of the year.
103 + },
104 +});
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
No preview for this file type
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
No preview for this file type
This diff is collapsed. Click to expand it.
No preview for this file type
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.