corrade-nucleus-nucleons – Blame information for rev 38
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
38 | office | 1 | //! moment.js locale configuration |
2 | //! locale : Yoruba Nigeria [yo] |
||
3 | //! author : Atolagbe Abisoye : https://github.com/andela-batolagbe |
||
4 | |||
5 | ;(function (global, factory) { |
||
6 | typeof exports === 'object' && typeof module !== 'undefined' |
||
7 | && typeof require === 'function' ? factory(require('../moment')) : |
||
8 | typeof define === 'function' && define.amd ? define(['../moment'], factory) : |
||
9 | factory(global.moment) |
||
10 | }(this, (function (moment) { 'use strict'; |
||
11 | |||
12 | |||
13 | var yo = moment.defineLocale('yo', { |
||
14 | months : 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split('_'), |
||
15 | monthsShort : 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'), |
||
16 | weekdays : 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'), |
||
17 | weekdaysShort : 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'), |
||
18 | weekdaysMin : 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'), |
||
19 | longDateFormat : { |
||
20 | LT : 'h:mm A', |
||
21 | LTS : 'h:mm:ss A', |
||
22 | L : 'DD/MM/YYYY', |
||
23 | LL : 'D MMMM YYYY', |
||
24 | LLL : 'D MMMM YYYY h:mm A', |
||
25 | LLLL : 'dddd, D MMMM YYYY h:mm A' |
||
26 | }, |
||
27 | calendar : { |
||
28 | sameDay : '[Ònì ni] LT', |
||
29 | nextDay : '[Ọ̀la ni] LT', |
||
30 | nextWeek : 'dddd [Ọsẹ̀ tón\'bọ] [ni] LT', |
||
31 | lastDay : '[Àna ni] LT', |
||
32 | lastWeek : 'dddd [Ọsẹ̀ tólọ́] [ni] LT', |
||
33 | sameElse : 'L' |
||
34 | }, |
||
35 | relativeTime : { |
||
36 | future : 'ní %s', |
||
37 | past : '%s kọjá', |
||
38 | s : 'ìsẹjú aayá die', |
||
39 | m : 'ìsẹjú kan', |
||
40 | mm : 'ìsẹjú %d', |
||
41 | h : 'wákati kan', |
||
42 | hh : 'wákati %d', |
||
43 | d : 'ọjọ́ kan', |
||
44 | dd : 'ọjọ́ %d', |
||
45 | M : 'osù kan', |
||
46 | MM : 'osù %d', |
||
47 | y : 'ọdún kan', |
||
48 | yy : 'ọdún %d' |
||
49 | }, |
||
50 | dayOfMonthOrdinalParse : /ọjọ́\s\d{1,2}/, |
||
51 | ordinal : 'ọjọ́ %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 | }); |
||
57 | |||
58 | return yo; |
||
59 | |||
60 | }))); |