Skip to content
Permalink
Browse files

Version 7.8.11: reST errors in logs; bootswatch fix

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Dec 29, 2017
1 parent 527d4bf commit 6bedf8d5d1999339a7c0f66f013bf75eafac1b56
Showing with 4,099 additions and 80,713 deletions.
  1. +3 −2 CHANGES.txt
  2. +6 −5 bower_components/moment/.bower.json
  3. +75 −0 bower_components/moment/CHANGELOG.md
  4. +3 −0 bower_components/moment/README.md
  5. +2 −1 bower_components/moment/bower.json
  6. +1 −0 bower_components/moment/locale/af.js
  7. +1 −0 bower_components/moment/locale/ar-dz.js
  8. +1 −0 bower_components/moment/locale/ar-kw.js
  9. +2 −1 bower_components/moment/locale/ar-ly.js
  10. +1 −0 bower_components/moment/locale/ar-ma.js
  11. +1 −0 bower_components/moment/locale/ar-sa.js
  12. +1 −0 bower_components/moment/locale/ar-tn.js
  13. +14 −13 bower_components/moment/locale/ar.js
  14. +1 −0 bower_components/moment/locale/az.js
  15. +1 −0 bower_components/moment/locale/be.js
  16. +1 −0 bower_components/moment/locale/bg.js
  17. +60 −0 bower_components/moment/locale/bm.js
  18. +1 −0 bower_components/moment/locale/bn.js
  19. +1 −0 bower_components/moment/locale/bo.js
  20. +1 −0 bower_components/moment/locale/br.js
  21. +10 −0 bower_components/moment/locale/bs.js
  22. +5 −4 bower_components/moment/locale/ca.js
  23. +8 −0 bower_components/moment/locale/cs.js
  24. +1 −0 bower_components/moment/locale/cv.js
  25. +1 −0 bower_components/moment/locale/cy.js
  26. +2 −1 bower_components/moment/locale/da.js
  27. +2 −1 bower_components/moment/locale/de-at.js
  28. +6 −5 bower_components/moment/locale/de-ch.js
  29. +2 −1 bower_components/moment/locale/de.js
  30. +1 −0 bower_components/moment/locale/dv.js
  31. +2 −1 bower_components/moment/locale/el.js
  32. +1 −0 bower_components/moment/locale/en-au.js
  33. +1 −0 bower_components/moment/locale/en-ca.js
  34. +1 −0 bower_components/moment/locale/en-gb.js
  35. +1 −0 bower_components/moment/locale/en-ie.js
  36. +1 −0 bower_components/moment/locale/en-nz.js
  37. +1 −0 bower_components/moment/locale/eo.js
  38. +11 −1 bower_components/moment/locale/es-do.js
  39. +84 −0 bower_components/moment/locale/es-us.js
  40. +11 −1 bower_components/moment/locale/es.js
  41. +2 −0 bower_components/moment/locale/et.js
  42. +1 −0 bower_components/moment/locale/eu.js
  43. +1 −0 bower_components/moment/locale/fa.js
  44. +3 −0 bower_components/moment/locale/fi.js
  45. +1 −0 bower_components/moment/locale/fo.js
  46. +2 −1 bower_components/moment/locale/fr-ca.js
  47. +2 −1 bower_components/moment/locale/fr-ch.js
  48. +2 −1 bower_components/moment/locale/fr.js
  49. +1 −0 bower_components/moment/locale/fy.js
  50. +1 −0 bower_components/moment/locale/gd.js
  51. +1 −0 bower_components/moment/locale/gl.js
  52. +2 −0 bower_components/moment/locale/gom-latn.js
  53. +125 −0 bower_components/moment/locale/gu.js
  54. +1 −0 bower_components/moment/locale/he.js
  55. +1 −0 bower_components/moment/locale/hi.js
  56. +10 −0 bower_components/moment/locale/hr.js
  57. +4 −2 bower_components/moment/locale/hu.js
  58. +1 −0 bower_components/moment/locale/hy-am.js
  59. +1 −0 bower_components/moment/locale/id.js
  60. +6 −0 bower_components/moment/locale/is.js
  61. +2 −1 bower_components/moment/locale/it.js
  62. +1 −0 bower_components/moment/locale/ja.js
  63. +1 −0 bower_components/moment/locale/jv.js
  64. +1 −0 bower_components/moment/locale/ka.js
  65. +1 −0 bower_components/moment/locale/kk.js
  66. +1 −0 bower_components/moment/locale/km.js
  67. +1 −0 bower_components/moment/locale/kn.js
  68. +16 −2 bower_components/moment/locale/ko.js
  69. +1 −0 bower_components/moment/locale/ky.js
  70. +1 −0 bower_components/moment/locale/lb.js
  71. +1 −0 bower_components/moment/locale/lo.js
  72. +2 −0 bower_components/moment/locale/lt.js
  73. +2 −0 bower_components/moment/locale/lv.js
  74. +2 −0 bower_components/moment/locale/me.js
  75. +1 −0 bower_components/moment/locale/mi.js
  76. +1 −0 bower_components/moment/locale/mk.js
  77. +1 −0 bower_components/moment/locale/ml.js
  78. +3 −0 bower_components/moment/locale/mr.js
  79. +1 −0 bower_components/moment/locale/ms-my.js
  80. +1 −0 bower_components/moment/locale/ms.js
  81. +61 −0 bower_components/moment/locale/mt.js
  82. +1 −0 bower_components/moment/locale/my.js
  83. +1 −0 bower_components/moment/locale/nb.js
  84. +1 −0 bower_components/moment/locale/ne.js
  85. +2 −1 bower_components/moment/locale/nl-be.js
  86. +2 −1 bower_components/moment/locale/nl.js
  87. +1 −0 bower_components/moment/locale/nn.js
  88. +1 −0 bower_components/moment/locale/pa-in.js
  89. +21 −1 bower_components/moment/locale/pl.js
  90. +3 −2 bower_components/moment/locale/pt-br.js
  91. +4 −3 bower_components/moment/locale/pt.js
  92. +2 −0 bower_components/moment/locale/ro.js
  93. +7 −5 bower_components/moment/locale/ru.js
  94. +1 −0 bower_components/moment/locale/sd.js
  95. +1 −0 bower_components/moment/locale/se.js
  96. +1 −0 bower_components/moment/locale/si.js
  97. +8 −0 bower_components/moment/locale/sk.js
  98. +12 −0 bower_components/moment/locale/sl.js
  99. +1 −0 bower_components/moment/locale/sq.js
  100. +2 −0 bower_components/moment/locale/sr-cyrl.js
  101. +2 −0 bower_components/moment/locale/sr.js
  102. +1 −0 bower_components/moment/locale/ss.js
  103. +1 −0 bower_components/moment/locale/sv.js
  104. +1 −0 bower_components/moment/locale/sw.js
  105. +1 −0 bower_components/moment/locale/ta.js
  106. +1 −0 bower_components/moment/locale/te.js
  107. +1 −0 bower_components/moment/locale/tet.js
  108. +1 −0 bower_components/moment/locale/th.js
  109. +1 −0 bower_components/moment/locale/tl-ph.js
  110. +3 −0 bower_components/moment/locale/tlh.js
  111. +3 −2 bower_components/moment/locale/tr.js
  112. +2 −0 bower_components/moment/locale/tzl.js
  113. +1 −0 bower_components/moment/locale/tzm-latn.js
  114. +1 −0 bower_components/moment/locale/tzm.js
  115. +2 −0 bower_components/moment/locale/uk.js
  116. +1 −0 bower_components/moment/locale/ur.js
  117. +1 −0 bower_components/moment/locale/uz-latn.js
  118. +1 −0 bower_components/moment/locale/uz.js
  119. +1 −0 bower_components/moment/locale/vi.js
  120. +1 −0 bower_components/moment/locale/x-pseudo.js
  121. +1 −0 bower_components/moment/locale/yo.js
  122. +9 −8 bower_components/moment/locale/zh-cn.js
  123. +9 −8 bower_components/moment/locale/zh-hk.js
  124. +9 −8 bower_components/moment/locale/zh-tw.js
  125. +645 −128 bower_components/moment/min/locales.js
  126. +1 −498 bower_components/moment/min/locales.min.js
  127. +1,166 −577 bower_components/moment/min/moment-with-locales.js
  128. +1 −505 bower_components/moment/min/moment-with-locales.min.js
  129. +1 −7 bower_components/moment/min/moment.min.js
  130. +0 −78,265 bower_components/moment/min/tests.js
  131. +8 −3 bower_components/moment/moment.d.ts
  132. +498 −426 bower_components/moment/moment.js
  133. +8 −1 bower_components/moment/src/lib/create/from-array.js
  134. +85 −57 bower_components/moment/src/lib/create/from-string.js
  135. +1 −0 bower_components/moment/src/lib/create/valid.js
  136. +6 −0 bower_components/moment/src/lib/duration/clone.js
  137. +1 −1 bower_components/moment/src/lib/duration/constructor.js
  138. +3 −3 bower_components/moment/src/lib/duration/create.js
  139. +17 −9 bower_components/moment/src/lib/duration/iso-string.js
  140. +2 −0 bower_components/moment/src/lib/duration/prototype.js
  141. +2 −1 bower_components/moment/src/lib/duration/valid.js
  142. +7 −7 bower_components/moment/src/lib/locale/locales.js
  143. +4 −4 bower_components/moment/src/lib/moment/add-subtract.js
  144. +11 −15 bower_components/moment/src/lib/moment/diff.js
  145. +10 −5 bower_components/moment/src/lib/moment/format.js
  146. +9 −3 bower_components/moment/src/lib/moment/get-set.js
  147. +1 −1 bower_components/moment/src/lib/parse/regex.js
  148. +1 −1 bower_components/moment/src/lib/units/day-of-month.js
  149. +8 −1 bower_components/moment/src/lib/units/month.js
  150. +1 −1 bower_components/moment/src/lib/units/year.js
  151. +10 −5 bower_components/moment/src/lib/utils/is-object-empty.js
  152. +3 −0 bower_components/moment/src/lib/utils/mod.js
  153. +1 −0 bower_components/moment/src/locale/af.js
  154. +1 −0 bower_components/moment/src/locale/ar-dz.js
  155. +1 −0 bower_components/moment/src/locale/ar-kw.js
  156. +2 −1 bower_components/moment/src/locale/ar-ly.js
  157. +1 −0 bower_components/moment/src/locale/ar-ma.js
  158. +1 −0 bower_components/moment/src/locale/ar-sa.js
  159. +1 −0 bower_components/moment/src/locale/ar-tn.js
  160. +14 −14 bower_components/moment/src/locale/ar.js
  161. +1 −0 bower_components/moment/src/locale/az.js
  162. +1 −0 bower_components/moment/src/locale/be.js
  163. +1 −0 bower_components/moment/src/locale/bg.js
  164. +50 −0 bower_components/moment/src/locale/bm.js
  165. +1 −0 bower_components/moment/src/locale/bn.js
  166. +1 −0 bower_components/moment/src/locale/bo.js
  167. +1 −0 bower_components/moment/src/locale/br.js
  168. +10 −0 bower_components/moment/src/locale/bs.js
  169. +5 −4 bower_components/moment/src/locale/ca.js
  170. +8 −0 bower_components/moment/src/locale/cs.js
  171. +1 −0 bower_components/moment/src/locale/cv.js
  172. +1 −0 bower_components/moment/src/locale/cy.js
  173. +2 −1 bower_components/moment/src/locale/da.js
  174. +2 −1 bower_components/moment/src/locale/de-at.js
  175. +6 −5 bower_components/moment/src/locale/de-ch.js
  176. +2 −1 bower_components/moment/src/locale/de.js
  177. +1 −0 bower_components/moment/src/locale/dv.js
  178. +2 −1 bower_components/moment/src/locale/el.js
  179. +1 −0 bower_components/moment/src/locale/en-au.js
  180. +1 −0 bower_components/moment/src/locale/en-ca.js
  181. +1 −0 bower_components/moment/src/locale/en-gb.js
  182. +1 −0 bower_components/moment/src/locale/en-ie.js
  183. +1 −0 bower_components/moment/src/locale/en-nz.js
  184. +1 −0 bower_components/moment/src/locale/eo.js
  185. +11 −1 bower_components/moment/src/locale/es-do.js
  186. +74 −0 bower_components/moment/src/locale/es-us.js
  187. +11 −2 bower_components/moment/src/locale/es.js
  188. +2 −0 bower_components/moment/src/locale/et.js
  189. +1 −0 bower_components/moment/src/locale/eu.js
  190. +1 −0 bower_components/moment/src/locale/fa.js
  191. +3 −0 bower_components/moment/src/locale/fi.js
  192. +1 −0 bower_components/moment/src/locale/fo.js
  193. +2 −1 bower_components/moment/src/locale/fr-ca.js
  194. +2 −1 bower_components/moment/src/locale/fr-ch.js
  195. +2 −1 bower_components/moment/src/locale/fr.js
  196. +1 −0 bower_components/moment/src/locale/fy.js
  197. +1 −0 bower_components/moment/src/locale/gd.js
  198. +1 −0 bower_components/moment/src/locale/gl.js
  199. +2 −0 bower_components/moment/src/locale/gom-latn.js
  200. +115 −0 bower_components/moment/src/locale/gu.js
  201. +1 −0 bower_components/moment/src/locale/he.js
  202. +1 −0 bower_components/moment/src/locale/hi.js
  203. +10 −0 bower_components/moment/src/locale/hr.js
  204. +3 −0 bower_components/moment/src/locale/hu.js
  205. +1 −0 bower_components/moment/src/locale/hy-am.js
  206. +1 −0 bower_components/moment/src/locale/id.js
  207. +6 −0 bower_components/moment/src/locale/is.js
  208. +2 −1 bower_components/moment/src/locale/it.js
  209. +1 −0 bower_components/moment/src/locale/ja.js
  210. +1 −0 bower_components/moment/src/locale/jv.js
  211. +1 −0 bower_components/moment/src/locale/ka.js
  212. +1 −0 bower_components/moment/src/locale/kk.js
  213. +1 −0 bower_components/moment/src/locale/km.js
  214. +1 −0 bower_components/moment/src/locale/kn.js
  215. +16 −2 bower_components/moment/src/locale/ko.js
  216. +1 −0 bower_components/moment/src/locale/ky.js
  217. +1 −0 bower_components/moment/src/locale/lb.js
  218. +1 −0 bower_components/moment/src/locale/lo.js
  219. +2 −0 bower_components/moment/src/locale/lt.js
  220. +2 −0 bower_components/moment/src/locale/lv.js
  221. +2 −0 bower_components/moment/src/locale/me.js
  222. +1 −0 bower_components/moment/src/locale/mi.js
  223. +1 −0 bower_components/moment/src/locale/mk.js
  224. +1 −0 bower_components/moment/src/locale/ml.js
  225. +3 −0 bower_components/moment/src/locale/mr.js
  226. +1 −0 bower_components/moment/src/locale/ms-my.js
  227. +1 −0 bower_components/moment/src/locale/ms.js
  228. +51 −0 bower_components/moment/src/locale/mt.js
  229. +1 −0 bower_components/moment/src/locale/my.js
  230. +1 −0 bower_components/moment/src/locale/nb.js
  231. +1 −0 bower_components/moment/src/locale/ne.js
  232. +2 −1 bower_components/moment/src/locale/nl-be.js
  233. +2 −1 bower_components/moment/src/locale/nl.js
  234. +1 −0 bower_components/moment/src/locale/nn.js
  235. +1 −0 bower_components/moment/src/locale/pa-in.js
  236. +21 −1 bower_components/moment/src/locale/pl.js
  237. +3 −2 bower_components/moment/src/locale/pt-br.js
  238. +4 −3 bower_components/moment/src/locale/pt.js
  239. +2 −0 bower_components/moment/src/locale/ro.js
  240. +7 −5 bower_components/moment/src/locale/ru.js
  241. +1 −0 bower_components/moment/src/locale/sd.js
  242. +1 −0 bower_components/moment/src/locale/se.js
  243. +1 −0 bower_components/moment/src/locale/si.js
  244. +8 −0 bower_components/moment/src/locale/sk.js
  245. +12 −0 bower_components/moment/src/locale/sl.js
  246. +1 −0 bower_components/moment/src/locale/sq.js
  247. +2 −0 bower_components/moment/src/locale/sr-cyrl.js
  248. +2 −0 bower_components/moment/src/locale/sr.js
  249. +1 −0 bower_components/moment/src/locale/ss.js
  250. +1 −0 bower_components/moment/src/locale/sv.js
  251. +1 −0 bower_components/moment/src/locale/sw.js
  252. +1 −0 bower_components/moment/src/locale/ta.js
  253. +1 −0 bower_components/moment/src/locale/te.js
  254. +1 −0 bower_components/moment/src/locale/tet.js
  255. +1 −0 bower_components/moment/src/locale/th.js
  256. +1 −0 bower_components/moment/src/locale/tl-ph.js
  257. +3 −0 bower_components/moment/src/locale/tlh.js
  258. +3 −2 bower_components/moment/src/locale/tr.js
  259. +2 −0 bower_components/moment/src/locale/tzl.js
  260. +1 −0 bower_components/moment/src/locale/tzm-latn.js
  261. +1 −0 bower_components/moment/src/locale/tzm.js
  262. +2 −0 bower_components/moment/src/locale/uk.js
  263. +1 −0 bower_components/moment/src/locale/ur.js
  264. +1 −0 bower_components/moment/src/locale/uz-latn.js
  265. +1 −0 bower_components/moment/src/locale/uz.js
  266. +1 −0 bower_components/moment/src/locale/vi.js
  267. +1 −0 bower_components/moment/src/locale/x-pseudo.js
  268. +1 −0 bower_components/moment/src/locale/yo.js
  269. +9 −9 bower_components/moment/src/locale/zh-cn.js
  270. +9 −8 bower_components/moment/src/locale/zh-hk.js
  271. +9 −8 bower_components/moment/src/locale/zh-tw.js
  272. +18 −5 bower_components/moment/src/moment.js
  273. +1 −1 docs/extending.txt
  274. BIN docs/man/nikola.1.gz
  275. +1 −1 docs/man/nikola.rst
  276. +1 −1 docs/manual.txt
  277. +1 −1 docs/social_buttons.txt
  278. +2 −2 docs/sphinx/conf.py
  279. +1 −1 docs/support.rst
  280. +1 −1 docs/template-variables.rst
  281. +1 −1 docs/theming.txt
  282. +1 −1 nikola/__init__.py
  283. +52 −0 nikola/data/themes/base/messages/messages_br.py
  284. +18 −11 nikola/plugins/compile/rest/__init__.py
  285. +1 −1 setup.py
  286. +1 −1 snapcraft.yaml
  287. +167 −0 translations/nikola.messages/br.po
@@ -1,6 +1,7 @@
New in v7-maintenance
=====================
New in v7.8.11
==============

* Make errors in reST display in logs again
* Restore version number to Bootswatch URLs (Issue #2916)

New in v7.8.10
@@ -20,15 +20,16 @@
"package.js",
"package.json",
"ISSUE_TEMPLATE.md",
"typing-tests"
"typing-tests",
"min/tests.js"
],
"homepage": "https://github.com/moment/moment",
"version": "2.18.1",
"_release": "2.18.1",
"version": "2.20.1",
"_release": "2.20.1",
"_resolution": {
"type": "version",
"tag": "2.18.1",
"commit": "0af7d4f5f25f911c2eaab2a7ccb534c17e65c536"
"tag": "2.20.1",
"commit": "1bef83c699e577b29d5c775647cef3f43309a8f9"
},
"_source": "https://github.com/moment/moment.git",
"_target": "~2",
@@ -1,6 +1,81 @@
Changelog
=========

### 2.20.1 [See changelog](https://gist.github.com/marwahaha/d72c1cb22076373be889b16272cbd187)

* Release Dec 18, 2017

* [#4359](https://github.com/moment/moment/pull/4359) [locale] Fix Arabic locale for months (again)
* [#4357](https://github.com/moment/moment/pull/4357) [misc] Add optional parameter keepOffset to toISOString


### 2.20.0 [See full changelog](https://gist.github.com/marwahaha/e0d4135fbf8bb75fa85c4aa2bddc5031)

* Release Dec 16, 2017

* [#4312](https://github.com/moment/moment/pull/4312) [bugfix] Fix [#4251](https://github.com/moment/moment/pull/4251): Avoid RFC2822 in utc() test
* [#4240](https://github.com/moment/moment/pull/4240) [bugfix] Fix incorrect strict parsing with full-width parentheses
* [#4341](https://github.com/moment/moment/pull/4341) [feature] Prevent toISOString converting to UTC (issue [#1751](https://github.com/moment/moment/pull/1751))
* [#4154](https://github.com/moment/moment/pull/4154) [feature] add format constants to support output to HTML5 input type formats (see [#3928](https://github.com/moment/moment/pull/3928))
* [#4143](https://github.com/moment/moment/pull/4143) [new locale] mt: Maltese language
* [#4183](https://github.com/moment/moment/pull/4183) [locale] Relative seconds i18n
* Various other locale improvements

### 2.19.4 [See changelog](https://gist.github.com/marwahaha/d3b7b0ddf4bdae512244f16e8cc59efb)

* Release Dec 10, 2017

* [#4332](https://github.com/moment/moment/pull/4332) [bugfix] Fix weekday verification for UTC and offset days (fixes [#4227](https://github.com/moment/moment/pull/4227))
* [#4336](https://github.com/moment/moment/pull/4336) [bugfix] Fix [#4334](https://github.com/moment/moment/pull/4334): Remove unused function call argument
* [#4246](https://github.com/moment/moment/pull/4246) [misc] Add 'ss' relative time key to typescript definition

### 2.19.3 [See changelog](https://gist.github.com/marwahaha/3654006bc0c2e522451c08d12c0bfabf)

* Release Nov 29, 2017

* [#4326](https://github.com/moment/moment/pull/4326) [bugfix] Fix for ReDOS vulnerability (see [#4163](https://github.com/moment/moment/issues/4163))
* [#4289](https://github.com/moment/moment/pull/4289) [misc] Fix spelling and formatting for U.S. for es-us

### 2.19.2 [See changelog (it's the same >:D)](https://gist.github.com/ichernev/76b1a3f33d3a8ff9665ce434a45221d0)

* Release Nov 11, 2017

* [#4255](https://github.com/moment/moment/pull/4255) [bugfix] Fix year setter for random days in a leap year, fixes [#4238](https://github.com/moment/moment/issues/4238)
* [#4242](https://github.com/moment/moment/pull/4242) [bugfix] updateLocale now tries to load parent, fixes [#3626](https://github.com/moment/moment/issues/3626)

### 2.19.1

* Release Oct 11, 2017

Make react native and webpack both work
* #4225 #4226 #4232

### 2.19.0 [See full changelog](https://gist.github.com/ichernev/5f3f4eb02761b4f765a0cccf02cec603)

* Release Oct 10, 2017

## Fix React Native 0.49+ crash
* [#4213](https://github.com/moment/moment/pull/4213) [critical] Rename dynamic
require to avoid React Native crash
* [#4214](https://github.com/moment/moment/pull/4214) [fixup] Move require
rename inside try/catch, fixes
[#4213](https://github.com/moment/moment/issues/4213)

## Features

* [#3735](https://github.com/moment/moment/pull/3735) [feature] Ignore NaN values in setters
* [#4106](https://github.com/moment/moment/pull/4106) [fixup] Drop isNumeric utility fn, fixes [#3735](https://github.com/moment/moment/issues/3735)
* [#4080](https://github.com/moment/moment/pull/4080) [feature] Implement a clone method for durations, fixes [#4078](https://github.com/moment/moment/issues/4078)
* [#4215](https://github.com/moment/moment/pull/4215) [misc] TS: Add duration.clone(), for [#4080](https://github.com/moment/moment/issues/4080)

## Packaging

* [#4003](https://github.com/moment/moment/pull/4003) [pkg] bower: Remove tests from package
* [#3904](https://github.com/moment/moment/pull/3904) [pkg] jsnext:main -> module in package.json
* [#4060](https://github.com/moment/moment/pull/4060) [pkg] Account for new rollup interface

Bugfixes, new locales, locale fixes etc...

### 2.18.1

* Release Mar 22, 2017
@@ -2,6 +2,7 @@

[![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-url] [![MIT License][license-image]][license-url] [![Build Status][travis-image]][travis-url]
[![Coverage Status](https://coveralls.io/repos/moment/moment/badge.svg?branch=develop)](https://coveralls.io/r/moment/moment?branch=develop)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment.svg?type=shield)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment?ref=badge_shield)

A lightweight JavaScript date library for parsing, validating, manipulating, and formatting dates.

@@ -47,6 +48,8 @@ write to [ichernev](https://github.com/ichernev).

Moment.js is freely distributable under the terms of the [MIT license](https://github.com/moment/moment/blob/develop/LICENSE).

[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment.svg?type=large)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment?ref=badge_large)

[license-image]: http://img.shields.io/badge/license-MIT-blue.svg?style=flat
[license-url]: LICENSE

@@ -20,6 +20,7 @@
"package.js",
"package.json",
"ISSUE_TEMPLATE.md",
"typing-tests"
"typing-tests",
"min/tests.js"
]
}
@@ -47,6 +47,7 @@ var af = moment.defineLocale('af', {
future : 'oor %s',
past : '%s gelede',
s : '\'n paar sekondes',
ss : '%d sekondes',
m : '\'n minuut',
mm : '%d minute',
h : '\'n uur',
@@ -37,6 +37,7 @@ var arDz = moment.defineLocale('ar-dz', {
future : 'في %s',
past : 'منذ %s',
s : 'ثوان',
ss : '%d ثانية',
m : 'دقيقة',
mm : '%d دقائق',
h : 'ساعة',
@@ -37,6 +37,7 @@ var arKw = moment.defineLocale('ar-kw', {
future : 'في %s',
past : 'منذ %s',
s : 'ثوان',
ss : '%d ثانية',
m : 'دقيقة',
mm : '%d دقائق',
h : 'ساعة',
@@ -96,6 +96,7 @@ var arLy = moment.defineLocale('ar-ly', {
future : 'بعد %s',
past : 'منذ %s',
s : pluralize('s'),
ss : pluralize('s'),
m : pluralize('m'),
mm : pluralize('m'),
h : pluralize('h'),
@@ -108,7 +109,7 @@ var arLy = moment.defineLocale('ar-ly', {
yy : pluralize('y')
},
preparse: function (string) {
return string.replace(/\u200f/g, '').replace(/،/g, ',');
return string.replace(/،/g, ',');
},
postformat: function (string) {
return string.replace(/\d/g, function (match) {
@@ -38,6 +38,7 @@ var arMa = moment.defineLocale('ar-ma', {
future : 'في %s',
past : 'منذ %s',
s : 'ثوان',
ss : '%d ثانية',
m : 'دقيقة',
mm : '%d دقائق',
h : 'ساعة',
@@ -73,6 +73,7 @@ var arSa = moment.defineLocale('ar-sa', {
future : 'في %s',
past : 'منذ %s',
s : 'ثوان',
ss : '%d ثانية',
m : 'دقيقة',
mm : '%d دقائق',
h : 'ساعة',
@@ -37,6 +37,7 @@ var arTn = moment.defineLocale('ar-tn', {
future: 'في %s',
past: 'منذ %s',
s: 'ثوان',
ss : '%d ثانية',
m: 'دقيقة',
mm: '%d دقائق',
h: 'ساعة',
@@ -58,18 +58,18 @@ var pluralize = function (u) {
};
};
var months = [
'كانون الثاني يناير',
'شباط فبراير',
'آذار مارس',
'نيسان أبريل',
'أيار مايو',
'حزيران يونيو',
'تموز يوليو',
'آب أغسطس',
'أيلول سبتمبر',
'تشرين الأول أكتوبر',
'تشرين الثاني نوفمبر',
'كانون الأول ديسمبر'
'يناير',
'فبراير',
'مارس',
'أبريل',
'مايو',
'يونيو',
'يوليو',
'أغسطس',
'سبتمبر',
'أكتوبر',
'نوفمبر',
'ديسمبر'
];

var ar = moment.defineLocale('ar', {
@@ -110,6 +110,7 @@ var ar = moment.defineLocale('ar', {
future : 'بعد %s',
past : 'منذ %s',
s : pluralize('s'),
ss : pluralize('s'),
m : pluralize('m'),
mm : pluralize('m'),
h : pluralize('h'),
@@ -122,7 +123,7 @@ var ar = moment.defineLocale('ar', {
yy : pluralize('y')
},
preparse: function (string) {
return string.replace(/\u200f/g, '').replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
return numberMap[match];
}).replace(/،/g, ',');
},
@@ -58,6 +58,7 @@ var az = moment.defineLocale('az', {
future : '%s sonra',
past : '%s əvvəl',
s : 'birneçə saniyyə',
ss : '%d saniyə',
m : 'bir dəqiqə',
mm : '%d dəqiqə',
h : 'bir saat',
@@ -18,6 +18,7 @@ function plural(word, num) {
}
function relativeTimeWithPlural(number, withoutSuffix, key) {
var format = {
'ss': withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
'mm': withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',
'hh': withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',
'dd': 'дзень_дні_дзён',
@@ -48,6 +48,7 @@ var bg = moment.defineLocale('bg', {
future : 'след %s',
past : 'преди %s',
s : 'няколко секунди',
ss : '%d секунди',
m : 'минута',
mm : '%d минути',
h : 'час',
@@ -0,0 +1,60 @@
//! moment.js locale configuration
//! locale : Bambara [bm]
//! author : Estelle Comment : https://github.com/estellecomment

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';

// Language contact person : Abdoufata Kane : https://github.com/abdoufata

var bm = moment.defineLocale('bm', {
months : 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split('_'),
monthsShort : 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'),
weekdays : 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'),
weekdaysShort : 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'),
weekdaysMin : 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'),
longDateFormat : {
LT : 'HH:mm',
LTS : 'HH:mm:ss',
L : 'DD/MM/YYYY',
LL : 'MMMM [tile] D [san] YYYY',
LLL : 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
LLLL : 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm'
},
calendar : {
sameDay : '[Bi lɛrɛ] LT',
nextDay : '[Sini lɛrɛ] LT',
nextWeek : 'dddd [don lɛrɛ] LT',
lastDay : '[Kunu lɛrɛ] LT',
lastWeek : 'dddd [tɛmɛnen lɛrɛ] LT',
sameElse : 'L'
},
relativeTime : {
future : '%s kɔnɔ',
past : 'a bɛ %s bɔ',
s : 'sanga dama dama',
ss : 'sekondi %d',
m : 'miniti kelen',
mm : 'miniti %d',
h : 'lɛrɛ kelen',
hh : 'lɛrɛ %d',
d : 'tile kelen',
dd : 'tile %d',
M : 'kalo kelen',
MM : 'kalo %d',
y : 'san kelen',
yy : 'san %d'
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 4 // The week that contains Jan 4th is the first week of the year.
}
});

return bm;

})));
@@ -61,6 +61,7 @@ var bn = moment.defineLocale('bn', {
future : '%s পরে',
past : '%s আগে',
s : 'কয়েক সেকেন্ড',
ss : '%d সেকেন্ড',
m : 'এক মিনিট',
mm : '%d মিনিট',
h : 'এক ঘন্টা',
@@ -61,6 +61,7 @@ var bo = moment.defineLocale('bo', {
future : '%s ལ་',
past : '%s སྔན་ལ',
s : 'ལམ་སང',
ss : '%d སྐར་ཆ།',
m : 'སྐར་མ་གཅིག',
mm : '%d སྐར་མ',
h : 'ཆུ་ཚོད་གཅིག',
@@ -81,6 +81,7 @@ var br = moment.defineLocale('br', {
future : 'a-benn %s',
past : '%s \'zo',
s : 'un nebeud segondennoù',
ss : '%d eilenn',
m : 'ur vunutenn',
mm : relativeTimeWithMutation,
h : 'un eur',
@@ -14,6 +14,15 @@
function translate(number, withoutSuffix, key) {
var result = number + ' ';
switch (key) {
case 'ss':
if (number === 1) {
result += 'sekunda';
} else if (number === 2 || number === 3 || number === 4) {
result += 'sekunde';
} else {
result += 'sekundi';
}
return result;
case 'm':
return withoutSuffix ? 'jedna minuta' : 'jedne minute';
case 'mm':
@@ -119,6 +128,7 @@ var bs = moment.defineLocale('bs', {
future : 'za %s',
past : 'prije %s',
s : 'par sekundi',
ss : translate,
m : translate,
mm : translate,
h : translate,

0 comments on commit 6bedf8d

Please sign in to comment.