Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
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-nz.js 2.6KB

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