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.

fr-ca.js 2.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. //! moment.js locale configuration
  2. //! locale : French (Canada) [fr-ca]
  3. //! author : Jonathan Abourbih : https://github.com/jonbca
  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 frCa = moment.defineLocale('fr-ca', {
  12. months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
  13. '_'
  14. ),
  15. monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
  16. '_'
  17. ),
  18. monthsParseExact: true,
  19. weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  20. weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  21. weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
  22. weekdaysParseExact: true,
  23. longDateFormat: {
  24. LT: 'HH:mm',
  25. LTS: 'HH:mm:ss',
  26. L: 'YYYY-MM-DD',
  27. LL: 'D MMMM YYYY',
  28. LLL: 'D MMMM YYYY HH:mm',
  29. LLLL: 'dddd D MMMM YYYY HH:mm',
  30. },
  31. calendar: {
  32. sameDay: '[Aujourd’hui à] LT',
  33. nextDay: '[Demain à] LT',
  34. nextWeek: 'dddd [à] LT',
  35. lastDay: '[Hier à] LT',
  36. lastWeek: 'dddd [dernier à] LT',
  37. sameElse: 'L',
  38. },
  39. relativeTime: {
  40. future: 'dans %s',
  41. past: 'il y a %s',
  42. s: 'quelques secondes',
  43. ss: '%d secondes',
  44. m: 'une minute',
  45. mm: '%d minutes',
  46. h: 'une heure',
  47. hh: '%d heures',
  48. d: 'un jour',
  49. dd: '%d jours',
  50. M: 'un mois',
  51. MM: '%d mois',
  52. y: 'un an',
  53. yy: '%d ans',
  54. },
  55. dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
  56. ordinal: function (number, period) {
  57. switch (period) {
  58. // Words with masculine grammatical gender: mois, trimestre, jour
  59. default:
  60. case 'M':
  61. case 'Q':
  62. case 'D':
  63. case 'DDD':
  64. case 'd':
  65. return number + (number === 1 ? 'er' : 'e');
  66. // Words with feminine grammatical gender: semaine
  67. case 'w':
  68. case 'W':
  69. return number + (number === 1 ? 're' : 'e');
  70. }
  71. },
  72. });
  73. return frCa;
  74. })));