sw.js 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. //! moment.js locale configuration
  2. //! locale : Swahili [sw]
  3. //! author : Fahad Kassim : https://github.com/fadsel
  4. ;(function (global, factory) {
  5. typeof exports === 'object' && typeof module !== 'undefined'
  6. && typeof require === 'function' ? factory(require('../moment')) :
  7. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  8. factory(global.moment)
  9. }(this, (function (moment) { 'use strict';
  10. var sw = moment.defineLocale('sw', {
  11. months : 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'),
  12. monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
  13. weekdays : 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'),
  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',
  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. m : 'dakika moja',
  38. mm : 'dakika %d',
  39. h : 'saa limoja',
  40. hh : 'masaa %d',
  41. d : 'siku moja',
  42. dd : 'masiku %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 1st is the first week of the year.
  51. }
  52. });
  53. return sw;
  54. })));