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 1.9KB

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