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.

sw.js 1.0KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Swahili [sw]
  2. import dayjs from '../index';
  3. var locale = {
  4. name: 'sw',
  5. weekdays: 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'),
  6. weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
  7. weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
  8. months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'),
  9. monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
  10. weekStart: 1,
  11. ordinal: function ordinal(n) {
  12. return n;
  13. },
  14. relativeTime: {
  15. future: '%s baadaye',
  16. past: 'tokea %s',
  17. s: 'hivi punde',
  18. m: 'dakika moja',
  19. mm: 'dakika %d',
  20. h: 'saa limoja',
  21. hh: 'masaa %d',
  22. d: 'siku moja',
  23. dd: 'masiku %d',
  24. M: 'mwezi mmoja',
  25. MM: 'miezi %d',
  26. y: 'mwaka mmoja',
  27. yy: 'miaka %d'
  28. },
  29. formats: {
  30. LT: 'HH:mm',
  31. LTS: 'HH:mm:ss',
  32. L: 'DD.MM.YYYY',
  33. LL: 'D MMMM YYYY',
  34. LLL: 'D MMMM YYYY HH:mm',
  35. LLLL: 'dddd, D MMMM YYYY HH:mm'
  36. }
  37. };
  38. dayjs.locale(locale, null, true);
  39. export default locale;