se.js 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. var se = moment.defineLocale('se', {
  11. 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('_'),
  12. monthsShort : 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'),
  13. weekdays : 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split('_'),
  14. weekdaysShort : 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),
  15. weekdaysMin : 's_v_m_g_d_b_L'.split('_'),
  16. longDateFormat : {
  17. LT : 'HH:mm',
  18. LTS : 'HH:mm:ss',
  19. L : 'DD.MM.YYYY',
  20. LL : 'MMMM D. [b.] YYYY',
  21. LLL : 'MMMM D. [b.] YYYY [ti.] HH:mm',
  22. LLLL : 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm'
  23. },
  24. calendar : {
  25. sameDay: '[otne ti] LT',
  26. nextDay: '[ihttin ti] LT',
  27. nextWeek: 'dddd [ti] LT',
  28. lastDay: '[ikte ti] LT',
  29. lastWeek: '[ovddit] dddd [ti] LT',
  30. sameElse: 'L'
  31. },
  32. relativeTime : {
  33. future : '%s geažes',
  34. past : 'maŋit %s',
  35. s : 'moadde sekunddat',
  36. m : 'okta minuhta',
  37. mm : '%d minuhtat',
  38. h : 'okta diimmu',
  39. hh : '%d diimmut',
  40. d : 'okta beaivi',
  41. dd : '%d beaivvit',
  42. M : 'okta mánnu',
  43. MM : '%d mánut',
  44. y : 'okta jahki',
  45. yy : '%d jagit'
  46. },
  47. ordinalParse: /\d{1,2}\./,
  48. ordinal : '%d.',
  49. week : {
  50. dow : 1, // Monday is the first day of the week.
  51. doy : 4 // The week that contains Jan 4th is the first week of the year.
  52. }
  53. });
  54. return se;
  55. }));