sw.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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: 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split(
  11. '_'
  12. ),
  13. weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
  14. weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
  15. weekdaysParseExact: true,
  16. longDateFormat: {
  17. LT: 'hh:mm A',
  18. LTS: 'HH:mm:ss',
  19. L: 'DD.MM.YYYY',
  20. LL: 'D MMMM YYYY',
  21. LLL: 'D MMMM YYYY HH:mm',
  22. LLLL: 'dddd, D MMMM YYYY HH:mm',
  23. },
  24. calendar: {
  25. sameDay: '[leo saa] LT',
  26. nextDay: '[kesho saa] LT',
  27. nextWeek: '[wiki ijayo] dddd [saat] LT',
  28. lastDay: '[jana] LT',
  29. lastWeek: '[wiki iliyopita] dddd [saat] LT',
  30. sameElse: 'L',
  31. },
  32. relativeTime: {
  33. future: '%s baadaye',
  34. past: 'tokea %s',
  35. s: 'hivi punde',
  36. ss: 'sekunde %d',
  37. m: 'dakika moja',
  38. mm: 'dakika %d',
  39. h: 'saa limoja',
  40. hh: 'masaa %d',
  41. d: 'siku moja',
  42. dd: 'siku %d',
  43. M: 'mwezi mmoja',
  44. MM: 'miezi %d',
  45. y: 'mwaka mmoja',
  46. yy: 'miaka %d',
  47. },
  48. week: {
  49. dow: 1, // Monday is the first day of the week.
  50. doy: 7, // The week that contains Jan 7th is the first week of the year.
  51. },
  52. });