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-ch.js 2.2KB

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