se.js 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. //! moment.js locale configuration
  2. //! locale : Northern Sami [se]
  3. //! authors : Bård Rolstad Henriksen : https://github.com/karamell
  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 se = moment.defineLocale('se', {
  12. months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split(
  13. '_'
  14. ),
  15. monthsShort: 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split(
  16. '_'
  17. ),
  18. weekdays: 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split(
  19. '_'
  20. ),
  21. weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),
  22. weekdaysMin: 's_v_m_g_d_b_L'.split('_'),
  23. longDateFormat: {
  24. LT: 'HH:mm',
  25. LTS: 'HH:mm:ss',
  26. L: 'DD.MM.YYYY',
  27. LL: 'MMMM D. [b.] YYYY',
  28. LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm',
  29. LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm',
  30. },
  31. calendar: {
  32. sameDay: '[otne ti] LT',
  33. nextDay: '[ihttin ti] LT',
  34. nextWeek: 'dddd [ti] LT',
  35. lastDay: '[ikte ti] LT',
  36. lastWeek: '[ovddit] dddd [ti] LT',
  37. sameElse: 'L',
  38. },
  39. relativeTime: {
  40. future: '%s geažes',
  41. past: 'maŋit %s',
  42. s: 'moadde sekunddat',
  43. ss: '%d sekunddat',
  44. m: 'okta minuhta',
  45. mm: '%d minuhtat',
  46. h: 'okta diimmu',
  47. hh: '%d diimmut',
  48. d: 'okta beaivi',
  49. dd: '%d beaivvit',
  50. M: 'okta mánnu',
  51. MM: '%d mánut',
  52. y: 'okta jahki',
  53. yy: '%d jagit',
  54. },
  55. dayOfMonthOrdinalParse: /\d{1,2}\./,
  56. ordinal: '%d.',
  57. week: {
  58. dow: 1, // Monday is the first day of the week.
  59. doy: 4, // The week that contains Jan 4th is the first week of the year.
  60. },
  61. });
  62. return se;
  63. })));