gl.js 793 B

123456789101112131415161718192021222324
  1. // Galician [gl]
  2. import dayjs from '../index';
  3. var locale = {
  4. name: 'gl',
  5. weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),
  6. months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split('_'),
  7. weekStart: 1,
  8. weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),
  9. monthsShort: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split('_'),
  10. weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'),
  11. ordinal: function ordinal(n) {
  12. return n;
  13. },
  14. formats: {
  15. LT: 'H:mm',
  16. LTS: 'H:mm:ss',
  17. L: 'DD/MM/YYYY',
  18. LL: 'D [de] MMMM [de] YYYY',
  19. LLL: 'D [de] MMMM [de] YYYY H:mm',
  20. LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm'
  21. }
  22. };
  23. dayjs.locale(locale, null, true);
  24. export default locale;