Node-Red configuration
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-au.js 2.0KB

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