Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sv.js 2.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. //! moment.js locale configuration
  2. ;(function (global, factory) {
  3. typeof exports === 'object' && typeof module !== 'undefined'
  4. && typeof require === 'function' ? factory(require('../moment')) :
  5. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  6. factory(global.moment)
  7. }(this, (function (moment) { 'use strict';
  8. var sv = moment.defineLocale('sv', {
  9. months : 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'),
  10. monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  11. weekdays : 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),
  12. weekdaysShort : 'sön_mån_tis_ons_tor_fre_lör'.split('_'),
  13. weekdaysMin : 'sö_må_ti_on_to_fr_lö'.split('_'),
  14. longDateFormat : {
  15. LT : 'HH:mm',
  16. LTS : 'HH:mm:ss',
  17. L : 'YYYY-MM-DD',
  18. LL : 'D MMMM YYYY',
  19. LLL : 'D MMMM YYYY [kl.] HH:mm',
  20. LLLL : 'dddd D MMMM YYYY [kl.] HH:mm',
  21. lll : 'D MMM YYYY HH:mm',
  22. llll : 'ddd D MMM YYYY HH:mm'
  23. },
  24. calendar : {
  25. sameDay: '[Idag] LT',
  26. nextDay: '[Imorgon] LT',
  27. lastDay: '[Igår] LT',
  28. nextWeek: '[På] dddd LT',
  29. lastWeek: '[I] dddd[s] LT',
  30. sameElse: 'L'
  31. },
  32. relativeTime : {
  33. future : 'om %s',
  34. past : 'för %s sedan',
  35. s : 'några sekunder',
  36. ss : '%d sekunder',
  37. m : 'en minut',
  38. mm : '%d minuter',
  39. h : 'en timme',
  40. hh : '%d timmar',
  41. d : 'en dag',
  42. dd : '%d dagar',
  43. M : 'en månad',
  44. MM : '%d månader',
  45. y : 'ett år',
  46. yy : '%d år'
  47. },
  48. dayOfMonthOrdinalParse: /\d{1,2}(e|a)/,
  49. ordinal : function (number) {
  50. var b = number % 10,
  51. output = (~~(number % 100 / 10) === 1) ? 'e' :
  52. (b === 1) ? 'a' :
  53. (b === 2) ? 'a' :
  54. (b === 3) ? 'e' : 'e';
  55. return number + output;
  56. },
  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 sv;
  63. })));