前端代码
This commit is contained in:
88
node_modules/moment/dist/locale/te.js
generated
vendored
Normal file
88
node_modules/moment/dist/locale/te.js
generated
vendored
Normal file
@ -0,0 +1,88 @@
|
||||
//! moment.js locale configuration
|
||||
//! locale : Telugu [te]
|
||||
//! author : Krishna Chaitanya Thota : https://github.com/kcthota
|
||||
|
||||
import moment from '../moment';
|
||||
|
||||
export default moment.defineLocale('te', {
|
||||
months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split(
|
||||
'_'
|
||||
),
|
||||
monthsShort:
|
||||
'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split(
|
||||
'_'
|
||||
),
|
||||
monthsParseExact: true,
|
||||
weekdays:
|
||||
'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split(
|
||||
'_'
|
||||
),
|
||||
weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),
|
||||
weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),
|
||||
longDateFormat: {
|
||||
LT: 'A h:mm',
|
||||
LTS: 'A h:mm:ss',
|
||||
L: 'DD/MM/YYYY',
|
||||
LL: 'D MMMM YYYY',
|
||||
LLL: 'D MMMM YYYY, A h:mm',
|
||||
LLLL: 'dddd, D MMMM YYYY, A h:mm',
|
||||
},
|
||||
calendar: {
|
||||
sameDay: '[నేడు] LT',
|
||||
nextDay: '[రేపు] LT',
|
||||
nextWeek: 'dddd, LT',
|
||||
lastDay: '[నిన్న] LT',
|
||||
lastWeek: '[గత] dddd, LT',
|
||||
sameElse: 'L',
|
||||
},
|
||||
relativeTime: {
|
||||
future: '%s లో',
|
||||
past: '%s క్రితం',
|
||||
s: 'కొన్ని క్షణాలు',
|
||||
ss: '%d సెకన్లు',
|
||||
m: 'ఒక నిమిషం',
|
||||
mm: '%d నిమిషాలు',
|
||||
h: 'ఒక గంట',
|
||||
hh: '%d గంటలు',
|
||||
d: 'ఒక రోజు',
|
||||
dd: '%d రోజులు',
|
||||
M: 'ఒక నెల',
|
||||
MM: '%d నెలలు',
|
||||
y: 'ఒక సంవత్సరం',
|
||||
yy: '%d సంవత్సరాలు',
|
||||
},
|
||||
dayOfMonthOrdinalParse: /\d{1,2}వ/,
|
||||
ordinal: '%dవ',
|
||||
meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
|
||||
meridiemHour: function (hour, meridiem) {
|
||||
if (hour === 12) {
|
||||
hour = 0;
|
||||
}
|
||||
if (meridiem === 'రాత్రి') {
|
||||
return hour < 4 ? hour : hour + 12;
|
||||
} else if (meridiem === 'ఉదయం') {
|
||||
return hour;
|
||||
} else if (meridiem === 'మధ్యాహ్నం') {
|
||||
return hour >= 10 ? hour : hour + 12;
|
||||
} else if (meridiem === 'సాయంత్రం') {
|
||||
return hour + 12;
|
||||
}
|
||||
},
|
||||
meridiem: function (hour, minute, isLower) {
|
||||
if (hour < 4) {
|
||||
return 'రాత్రి';
|
||||
} else if (hour < 10) {
|
||||
return 'ఉదయం';
|
||||
} else if (hour < 17) {
|
||||
return 'మధ్యాహ్నం';
|
||||
} else if (hour < 20) {
|
||||
return 'సాయంత్రం';
|
||||
} else {
|
||||
return 'రాత్రి';
|
||||
}
|
||||
},
|
||||
week: {
|
||||
dow: 0, // Sunday is the first day of the week.
|
||||
doy: 6, // The week that contains Jan 6th is the first week of the year.
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user