uz-latn.js 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. //! moment.js locale configuration
  2. //! locale : Uzbek Latin [uz-latn]
  3. //! author : Rasulbek Mirzayev : github.com/Rasulbeeek
  4. ;(function (global, factory) {
  5. typeof exports === 'object' && typeof module !== 'undefined'
  6. && typeof require === 'function' ? factory(require('../moment')) :
  7. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  8. factory(global.moment)
  9. }(this, (function (moment) { 'use strict';
  10. //! moment.js locale configuration
  11. var uzLatn = moment.defineLocale('uz-latn', {
  12. months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split(
  13. '_'
  14. ),
  15. monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'),
  16. weekdays: 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split(
  17. '_'
  18. ),
  19. weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'),
  20. weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'),
  21. longDateFormat: {
  22. LT: 'HH:mm',
  23. LTS: 'HH:mm:ss',
  24. L: 'DD/MM/YYYY',
  25. LL: 'D MMMM YYYY',
  26. LLL: 'D MMMM YYYY HH:mm',
  27. LLLL: 'D MMMM YYYY, dddd HH:mm',
  28. },
  29. calendar: {
  30. sameDay: '[Bugun soat] LT [da]',
  31. nextDay: '[Ertaga] LT [da]',
  32. nextWeek: 'dddd [kuni soat] LT [da]',
  33. lastDay: '[Kecha soat] LT [da]',
  34. lastWeek: "[O'tgan] dddd [kuni soat] LT [da]",
  35. sameElse: 'L',
  36. },
  37. relativeTime: {
  38. future: 'Yaqin %s ichida',
  39. past: 'Bir necha %s oldin',
  40. s: 'soniya',
  41. ss: '%d soniya',
  42. m: 'bir daqiqa',
  43. mm: '%d daqiqa',
  44. h: 'bir soat',
  45. hh: '%d soat',
  46. d: 'bir kun',
  47. dd: '%d kun',
  48. M: 'bir oy',
  49. MM: '%d oy',
  50. y: 'bir yil',
  51. yy: '%d yil',
  52. },
  53. week: {
  54. dow: 1, // Monday is the first day of the week.
  55. doy: 7, // The week that contains Jan 7th is the first week of the year.
  56. },
  57. });
  58. return uzLatn;
  59. })));