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.

en-SG.js 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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 enSG = moment.defineLocale('en-SG', {
  9. months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  10. monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  11. weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  12. weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  13. weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  14. longDateFormat : {
  15. LT : 'HH:mm',
  16. LTS : 'HH:mm:ss',
  17. L : 'DD/MM/YYYY',
  18. LL : 'D MMMM YYYY',
  19. LLL : 'D MMMM YYYY HH:mm',
  20. LLLL : 'dddd, D MMMM YYYY HH:mm'
  21. },
  22. calendar : {
  23. sameDay : '[Today at] LT',
  24. nextDay : '[Tomorrow at] LT',
  25. nextWeek : 'dddd [at] LT',
  26. lastDay : '[Yesterday at] LT',
  27. lastWeek : '[Last] dddd [at] LT',
  28. sameElse : 'L'
  29. },
  30. relativeTime : {
  31. future : 'in %s',
  32. past : '%s ago',
  33. s : 'a few seconds',
  34. ss : '%d seconds',
  35. m : 'a minute',
  36. mm : '%d minutes',
  37. h : 'an hour',
  38. hh : '%d hours',
  39. d : 'a day',
  40. dd : '%d days',
  41. M : 'a month',
  42. MM : '%d months',
  43. y : 'a year',
  44. yy : '%d years'
  45. },
  46. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  47. ordinal : function (number) {
  48. var b = number % 10,
  49. output = (~~(number % 100 / 10) === 1) ? 'th' :
  50. (b === 1) ? 'st' :
  51. (b === 2) ? 'nd' :
  52. (b === 3) ? 'rd' : 'th';
  53. return number + output;
  54. },
  55. week : {
  56. dow : 1, // Monday is the first day of the week.
  57. doy : 4 // The week that contains Jan 4th is the first week of the year.
  58. }
  59. });
  60. return enSG;
  61. })));