1 //! moment.js locale configuration
2 //! locale : Telugu [te]
3 //! author : Krishna Chaitanya Thota : https://github.com/kcthota
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
) :
10 }(this, (function (moment
) { 'use strict';
13 var te
= moment
.defineLocale('te', {
14 months
: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'),
15 monthsShort
: 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'),
16 monthsParseExact
: true,
17 weekdays
: 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'),
18 weekdaysShort
: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),
19 weekdaysMin
: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),
25 LLL
: 'D MMMM YYYY, A h:mm',
26 LLLL
: 'dddd, D MMMM YYYY, A h:mm'
29 sameDay
: '[నేడు] LT',
30 nextDay
: '[రేపు] LT',
31 nextWeek
: 'dddd, LT',
32 lastDay
: '[నిన్న] LT',
33 lastWeek
: '[గత] dddd, LT',
51 dayOfMonthOrdinalParse
: /\d{1,2}వ/,
53 meridiemParse
: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
54 meridiemHour : function (hour
, meridiem
) {
58 if (meridiem
=== 'రాత్రి') {
59 return hour
< 4 ? hour
: hour
+ 12;
60 } else if (meridiem
=== 'ఉదయం') {
62 } else if (meridiem
=== 'మధ్యాహ్నం') {
63 return hour
>= 10 ? hour
: hour
+ 12;
64 } else if (meridiem
=== 'సాయంత్రం') {
68 meridiem : function (hour
, minute
, isLower
) {
71 } else if (hour
< 10) {
73 } else if (hour
< 17) {
75 } else if (hour
< 20) {
82 dow
: 0, // Sunday is the first day of the week.
83 doy
: 6 // The week that contains Jan 1st is the first week of the year.