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.

ss.js 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // siSwati [ss]
  2. import dayjs from '../index';
  3. var locale = {
  4. name: 'ss',
  5. weekdays: 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'),
  6. months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split('_'),
  7. weekStart: 1,
  8. weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),
  9. monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),
  10. weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),
  11. ordinal: function ordinal(n) {
  12. return n;
  13. },
  14. formats: {
  15. LT: 'h:mm A',
  16. LTS: 'h:mm:ss A',
  17. L: 'DD/MM/YYYY',
  18. LL: 'D MMMM YYYY',
  19. LLL: 'D MMMM YYYY h:mm A',
  20. LLLL: 'dddd, D MMMM YYYY h:mm A'
  21. },
  22. relativeTime: {
  23. future: 'nga %s',
  24. past: 'wenteka nga %s',
  25. s: 'emizuzwana lomcane',
  26. m: 'umzuzu',
  27. mm: '%d emizuzu',
  28. h: 'lihora',
  29. hh: '%d emahora',
  30. d: 'lilanga',
  31. dd: '%d emalanga',
  32. M: 'inyanga',
  33. MM: '%d tinyanga',
  34. y: 'umnyaka',
  35. yy: '%d iminyaka'
  36. }
  37. };
  38. dayjs.locale(locale, null, true);
  39. export default locale;