sw.js 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. //! moment.js locale configuration
  2. //! locale : Swahili [sw]
  3. //! author : Fahad Kassim : https://github.com/fadsel
  4. import moment from '../moment';
  5. export default moment.defineLocale('sw', {
  6. months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split(
  7. '_'
  8. ),
  9. monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
  10. weekdays:
  11. 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split(
  12. '_'
  13. ),
  14. weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
  15. weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
  16. weekdaysParseExact: true,
  17. longDateFormat: {
  18. LT: 'hh:mm A',
  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: '[leo saa] LT',
  27. nextDay: '[kesho saa] LT',
  28. nextWeek: '[wiki ijayo] dddd [saat] LT',
  29. lastDay: '[jana] LT',
  30. lastWeek: '[wiki iliyopita] dddd [saat] LT',
  31. sameElse: 'L',
  32. },
  33. relativeTime: {
  34. future: '%s baadaye',
  35. past: 'tokea %s',
  36. s: 'hivi punde',
  37. ss: 'sekunde %d',
  38. m: 'dakika moja',
  39. mm: 'dakika %d',
  40. h: 'saa limoja',
  41. hh: 'masaa %d',
  42. d: 'siku moja',
  43. dd: 'siku %d',
  44. M: 'mwezi mmoja',
  45. MM: 'miezi %d',
  46. y: 'mwaka mmoja',
  47. yy: 'miaka %d',
  48. },
  49. week: {
  50. dow: 1, // Monday is the first day of the week.
  51. doy: 7, // The week that contains Jan 7th is the first week of the year.
  52. },
  53. });