Ohm-Management - Projektarbeit B-ME
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.

sd.js 2.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. //! moment.js locale configuration
  2. ;(function (global, factory) {
  3. typeof exports === 'object' && typeof module !== 'undefined'
  4. && typeof require === 'function' ? factory(require('../moment')) :
  5. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  6. factory(global.moment)
  7. }(this, (function (moment) { 'use strict';
  8. var months = [
  9. 'جنوري',
  10. 'فيبروري',
  11. 'مارچ',
  12. 'اپريل',
  13. 'مئي',
  14. 'جون',
  15. 'جولاءِ',
  16. 'آگسٽ',
  17. 'سيپٽمبر',
  18. 'آڪٽوبر',
  19. 'نومبر',
  20. 'ڊسمبر'
  21. ];
  22. var days = [
  23. 'آچر',
  24. 'سومر',
  25. 'اڱارو',
  26. 'اربع',
  27. 'خميس',
  28. 'جمع',
  29. 'ڇنڇر'
  30. ];
  31. var sd = moment.defineLocale('sd', {
  32. months : months,
  33. monthsShort : months,
  34. weekdays : days,
  35. weekdaysShort : days,
  36. weekdaysMin : days,
  37. longDateFormat : {
  38. LT : 'HH:mm',
  39. LTS : 'HH:mm:ss',
  40. L : 'DD/MM/YYYY',
  41. LL : 'D MMMM YYYY',
  42. LLL : 'D MMMM YYYY HH:mm',
  43. LLLL : 'dddd، D MMMM YYYY HH:mm'
  44. },
  45. meridiemParse: /صبح|شام/,
  46. isPM : function (input) {
  47. return 'شام' === input;
  48. },
  49. meridiem : function (hour, minute, isLower) {
  50. if (hour < 12) {
  51. return 'صبح';
  52. }
  53. return 'شام';
  54. },
  55. calendar : {
  56. sameDay : '[اڄ] LT',
  57. nextDay : '[سڀاڻي] LT',
  58. nextWeek : 'dddd [اڳين هفتي تي] LT',
  59. lastDay : '[ڪالهه] LT',
  60. lastWeek : '[گزريل هفتي] dddd [تي] LT',
  61. sameElse : 'L'
  62. },
  63. relativeTime : {
  64. future : '%s پوء',
  65. past : '%s اڳ',
  66. s : 'چند سيڪنڊ',
  67. ss : '%d سيڪنڊ',
  68. m : 'هڪ منٽ',
  69. mm : '%d منٽ',
  70. h : 'هڪ ڪلاڪ',
  71. hh : '%d ڪلاڪ',
  72. d : 'هڪ ڏينهن',
  73. dd : '%d ڏينهن',
  74. M : 'هڪ مهينو',
  75. MM : '%d مهينا',
  76. y : 'هڪ سال',
  77. yy : '%d سال'
  78. },
  79. preparse: function (string) {
  80. return string.replace(/،/g, ',');
  81. },
  82. postformat: function (string) {
  83. return string.replace(/,/g, '،');
  84. },
  85. week : {
  86. dow : 1, // Monday is the first day of the week.
  87. doy : 4 // The week that contains Jan 4th is the first week of the year.
  88. }
  89. });
  90. return sd;
  91. })));