]>
git.ipfire.org Git - thirdparty/moment.git/log
Iskren Chernev [Sat, 9 Nov 2013 17:17:31 +0000 (09:17 -0800)]
Properly use global this to export moment
This is one issue encountered in strict mode.
Related to #1179
Isaac Cambron [Wed, 6 Nov 2013 18:21:05 +0000 (10:21 -0800)]
Merge pull request #1255 from adelgado/separator-comment-typo
Fix typo on word 'separator'
Alessandro Delgado [Wed, 6 Nov 2013 11:29:00 +0000 (12:29 +0100)]
Fix typo on word 'separator'
Isaac Cambron [Sat, 2 Nov 2013 21:14:06 +0000 (14:14 -0700)]
Merge pull request #1247 from mweimerskirch/lang_lb
Added Luxembourgish (lb)
Michel Weimerskirch [Sat, 2 Nov 2013 13:48:14 +0000 (14:48 +0100)]
Added Luxembourgish (lb)
Isaac Cambron [Sat, 2 Nov 2013 16:34:07 +0000 (09:34 -0700)]
Merge pull request #1246 from tehnicaorg/develop
Romanian fixes
Andrei Damian-Fekete [Sat, 2 Nov 2013 00:09:17 +0000 (01:09 +0100)]
Use English as test output in Romanian test.
Andrei Damian-Fekete [Fri, 1 Nov 2013 23:57:58 +0000 (00:57 +0100)]
Fix Romanian plural names
"Syntactically, when a cardinal number determines a noun and when the number has certain values, the preposition de
(roughly equivalent to of) is inserted between the number name and the modified noun in a way similar to English
hundreds of birds" ( http://en.wikipedia.org/wiki/Romanian_numbers#Preposition_de )
Andrei Damian-Fekete [Fri, 1 Nov 2013 22:54:31 +0000 (23:54 +0100)]
Fix Romanian Tuesday name.
Use T-comma instead of T-cedilla.
Andrei Damian-Fekete [Fri, 1 Nov 2013 22:53:11 +0000 (23:53 +0100)]
Fix Romanian standard date format.
Use dot instead of slash.
Andrei Damian-Fekete [Fri, 1 Nov 2013 22:51:03 +0000 (23:51 +0100)]
Fix Romanian translations.
Lowercase for full and short month names.
Lowercase for full day names.
Isaac Cambron [Thu, 31 Oct 2013 19:28:09 +0000 (12:28 -0700)]
Merge pull request #1243 from ichernev/bugfix/support-moment-add-duration
Fixed cloning a modified duration
Iskren Chernev [Thu, 31 Oct 2013 18:30:32 +0000 (11:30 -0700)]
Fixed cloning a modified duration
Storing the _input for creating a duration doesn't work for cloning when the
original duration is modified, because input no longer corresponds to the new
duration. Instead use the ms, days and month values which uniquely identify
a duration.
This also happens to fix #1242
Iskren Ivov Chernev [Thu, 31 Oct 2013 17:06:46 +0000 (10:06 -0700)]
Merge pull request #1238 from jgerigmeyer/develop
Add specific check for "require" in hasModule check.
Iskren Ivov Chernev [Thu, 31 Oct 2013 17:04:39 +0000 (10:04 -0700)]
Merge pull request #1240 from YannickL/develop
Fix albanian translation
Yannick Loriot [Wed, 30 Oct 2013 15:33:14 +0000 (16:33 +0100)]
[UPDATE] Albanian Tests
Yannick Loriot [Wed, 30 Oct 2013 15:27:43 +0000 (16:27 +0100)]
Merge branch 'develop' of https://github.com/moment/moment into develop
Yannick Loriot [Wed, 30 Oct 2013 13:26:30 +0000 (14:26 +0100)]
[FIX] Albanian translation
Jonny Gerig Meyer [Wed, 30 Oct 2013 00:01:24 +0000 (18:01 -0600)]
Add specific check for "require" in hasModule check (fixes bug when using with QUnit).
Isaac Cambron [Sun, 27 Oct 2013 03:25:22 +0000 (20:25 -0700)]
Merge pull request #1224 from zenozeng/develop
update test/lang/zh-cn.js, skip next week test if target is tomorrow
Zeno Zeng [Sun, 27 Oct 2013 02:54:13 +0000 (10:54 +0800)]
update test/lang/zh-cn.js, skip next week test if target is tomorrow
Iskren Chernev [Sun, 27 Oct 2013 02:25:24 +0000 (19:25 -0700)]
Bumping version to 2.4.0
Iskren Chernev [Sun, 27 Oct 2013 02:18:03 +0000 (19:18 -0700)]
Fix globally-exporter wrapper
Isaac Cambron [Sat, 26 Oct 2013 19:56:53 +0000 (12:56 -0700)]
Merge pull request #1220 from ichernev/deprecate-global
Deprecate use of globally exported moment in case of AMD and CommonJS
Iskren Chernev [Sat, 26 Oct 2013 07:08:38 +0000 (00:08 -0700)]
Deprecate use of globally exported moment in case of AMD and CommonJS
This is discussed in #1214. If moment is exported as a global in AMD or
CommonJS print a warning once the global is used.
Iskren Ivov Chernev [Sat, 26 Oct 2013 06:08:50 +0000 (23:08 -0700)]
Merge pull request #1219 from ichernev/bugfix/ie8-fixes
Removed forEach from format tests
Iskren Chernev [Fri, 25 Oct 2013 06:36:29 +0000 (23:36 -0700)]
Removed forEach from format tests
Isaac Cambron [Fri, 25 Oct 2013 20:25:54 +0000 (13:25 -0700)]
Merge pull request #1195 from jarosluv/develop
Modified regular expressions for support wrapping in tags.
jarosluv [Fri, 25 Oct 2013 20:04:23 +0000 (00:04 +0400)]
Merge remote-tracking branch 'origin/develop' into develop
Conflicts:
lang/ru.js
jarosluv [Wed, 16 Oct 2013 10:53:21 +0000 (14:53 +0400)]
Modified regular expressions for correct formatting of grammatical cases in Russian language. Escaped symbols doesn't affect the correct format of grammatical cases in pattern 'D[oD]? MMMM?'.
Isaac Cambron [Fri, 25 Oct 2013 01:44:32 +0000 (18:44 -0700)]
Merge pull request #1217 from hjdivad/bugfix-tolerate-mock-dates
Fix regression re: support for mock dates.
David J. Hamilton [Thu, 24 Oct 2013 23:13:42 +0000 (16:13 -0700)]
Fix regression re: support for mock dates.
`moment(input)` needs to determine if `input` is a date. The mechanism for
doing this was changed in
ab7824f1dcca22bdb8b73f7f98cf660305a73211 to deal with
issue #1084, namely that in a node REPL `globals.Date` may not be the same
`Date` used by moment.
However, this prevents users from changing `Date`, for example by mocking it via
something like [Timecop.js](https://github.com/jamesarosen/Timecop.js).
This commit makes date checking lenient enough to handle both cases.
Isaac Cambron [Thu, 24 Oct 2013 18:51:42 +0000 (11:51 -0700)]
Merge pull request #1215 from robgallen/develop
Welsh language support
Robert Allen [Thu, 24 Oct 2013 18:45:49 +0000 (19:45 +0100)]
Update and rename cy-gb.js to cy.js
Robert Allen [Thu, 24 Oct 2013 18:45:00 +0000 (19:45 +0100)]
Update and rename cy-gb.js to cy.js
Robert Allen [Thu, 24 Oct 2013 15:55:50 +0000 (16:55 +0100)]
Welsh translation tests
Robert Allen [Thu, 24 Oct 2013 15:55:15 +0000 (16:55 +0100)]
Welsh translations
Isaac Cambron [Thu, 24 Oct 2013 15:01:09 +0000 (11:01 -0400)]
fix spelling error in tagalog test
Isaac Cambron [Thu, 24 Oct 2013 14:58:49 +0000 (10:58 -0400)]
adding missing semicolons
Isaac Cambron [Thu, 24 Oct 2013 14:51:28 +0000 (07:51 -0700)]
Merge pull request #1212 from ichernev/bugfix/iso-is-valid-tests
Fixed iso is_valid tests
Isaac Cambron [Thu, 24 Oct 2013 14:51:11 +0000 (07:51 -0700)]
Merge pull request #1213 from ichernev/bugfix/allow-arbitrary-ms-iso-format
Allow arbitrary number of milliseconds in iso format
Iskren Chernev [Thu, 24 Oct 2013 09:12:46 +0000 (02:12 -0700)]
Fixed iso is_valid tests
In iso date-time format time is always separated by date with 'T', so make sure
all tests that expect to go through the iso parser have a 'T'.
Iskren Chernev [Thu, 24 Oct 2013 09:09:59 +0000 (02:09 -0700)]
Allow arbitrary number of milliseconds in iso format
According to the standard (I'm not sure actually), arbitrary number of
subsecond precision digits can be specified. Read all of those and ignore
everything after the third. This makes sure that iso formats actualy consume
the whole string.
Isaac Cambron [Wed, 23 Oct 2013 19:28:06 +0000 (12:28 -0700)]
Merge pull request #1206 from ragnar123/momentjs-faroese
Moment faroese language
Ragnar Johannesen [Wed, 23 Oct 2013 08:55:56 +0000 (09:55 +0100)]
Fixed I/Í issue (fo-locale)
Ragnar Johannesen [Wed, 23 Oct 2013 08:51:18 +0000 (09:51 +0100)]
Added faroese language
Isaac Cambron [Fri, 18 Oct 2013 22:38:20 +0000 (15:38 -0700)]
Merge pull request #1197 from hagmandan/cldr
Added tagalog support
Dan Hagman [Fri, 18 Oct 2013 17:31:03 +0000 (10:31 -0700)]
updated test file
Daniel Hagman [Wed, 16 Oct 2013 23:24:07 +0000 (16:24 -0700)]
added tagalog support
jarosluv [Wed, 16 Oct 2013 10:53:21 +0000 (14:53 +0400)]
Modified regular expressions for support wrapping in tags.
Daniel Hagman [Tue, 15 Oct 2013 22:34:07 +0000 (15:34 -0700)]
added tl-ph for tagalog
Iskren Ivov Chernev [Tue, 15 Oct 2013 04:24:44 +0000 (21:24 -0700)]
Merge pull request #1187 from icambron/fix-trailing-z
fixes for Z in ISO parser
Isaac Cambron [Mon, 14 Oct 2013 17:39:54 +0000 (13:39 -0400)]
Merge branch 'develop' of github.com:moment/moment into fix-trailing-z
Isaac Cambron [Mon, 14 Oct 2013 17:31:29 +0000 (10:31 -0700)]
Merge pull request #1188 from zenozeng/develop
Update test/lang/zh-cn.js, Fixes #1184
Zeno Zeng [Mon, 14 Oct 2013 14:42:03 +0000 (22:42 +0800)]
Fixes #1184
Isaac Cambron [Mon, 14 Oct 2013 08:28:35 +0000 (04:28 -0400)]
fixes for Z in ISO parser
Isaac Cambron [Mon, 14 Oct 2013 07:39:40 +0000 (00:39 -0700)]
Merge pull request #1185 from ichernev/bugfix/do-not-handle-ampm-end-of-iso
Another breaking test because of stricter iso parser
Iskren Chernev [Mon, 14 Oct 2013 07:30:41 +0000 (00:30 -0700)]
Another breaking test because of stricter iso parser
This time there is am added at the end, which was never parsed as part of iso
format, so if it was pm it would result in a wrong parse.
Deleting this test. Docs don't say this is possible, right :)
Isaac Cambron [Mon, 14 Oct 2013 07:06:52 +0000 (00:06 -0700)]
Merge pull request #1183 from ichernev/bugfix/utc-at-end-of-iso-format
Removed a failing iso-format parsing test
Iskren Chernev [Mon, 14 Oct 2013 07:01:42 +0000 (00:01 -0700)]
Removed a failing iso-format parsing test
One of the things that is broken on Android is "including a trailing UTC in the
input should work", which is a test added a long time ago, that used the fact
that ISO format matched beginning of string.
So right now this test goes through Date, which is different on regular vs
mobile browser. Also adding UTC at the end doesn't make it parse a UTC date, so
its misleading to say the least.
I think removing the test makes the most sense in this case. The behavior (of
adding UTC at the end is not documented, so shouldn't break legitimate code).
Iskren Chernev [Sun, 13 Oct 2013 08:48:39 +0000 (01:48 -0700)]
Merge branch 'develop' of github.com:zenozeng/moment into zenozeng-develop
Conflicts:
lang/zh-cn.js
Iskren Chernev [Sun, 13 Oct 2013 08:40:09 +0000 (01:40 -0700)]
Removed scripts reset in tasks/component.js
Iskren Ivov Chernev [Sun, 13 Oct 2013 08:39:11 +0000 (01:39 -0700)]
Merge pull request #1172 from wejendorp/develop
Fixes component.json generator
Iskren Ivov Chernev [Sun, 13 Oct 2013 08:37:55 +0000 (01:37 -0700)]
Merge pull request #1177 from icambron/language-test-module-check
repairing language tests
Isaac Cambron [Wed, 9 Oct 2013 16:26:19 +0000 (12:26 -0400)]
repairing language tests
Iskren Chernev [Wed, 9 Oct 2013 02:57:54 +0000 (19:57 -0700)]
Added changelog in readme for 2.3.1
Iskren Chernev [Wed, 9 Oct 2013 02:37:08 +0000 (06:37 +0400)]
Bumping version to 2.3.1
Iskren Ivov Chernev [Wed, 9 Oct 2013 02:33:27 +0000 (19:33 -0700)]
Merge pull request #1171 from icambron/month-zero
fix zero index for months() and weekdays()
Jacob Wejendorp [Tue, 8 Oct 2013 22:32:37 +0000 (00:32 +0200)]
Fix list in component config.scripts
Jacob Wejendorp [Tue, 8 Oct 2013 13:04:36 +0000 (15:04 +0200)]
Fixes component.json generator
Isaac Cambron [Tue, 8 Oct 2013 03:53:01 +0000 (23:53 -0400)]
fix zero index for months() and weekdays()
Isaac Cambron [Mon, 7 Oct 2013 23:20:12 +0000 (16:20 -0700)]
Merge pull request #1169 from rfb/develop
Trailing comma
Ryan Barber [Mon, 7 Oct 2013 21:16:08 +0000 (14:16 -0700)]
Trailing comma
Iskren Chernev [Mon, 7 Oct 2013 08:28:20 +0000 (12:28 +0400)]
Bumped version to 2.3.0
Iskren Ivov Chernev [Sat, 5 Oct 2013 23:10:17 +0000 (16:10 -0700)]
Merge pull request #1141 from icambron/feature/parse-weeks
parsing weeks
Isaac Cambron [Sat, 5 Oct 2013 19:52:07 +0000 (15:52 -0400)]
making things clearer
Iskren Ivov Chernev [Sat, 5 Oct 2013 12:57:49 +0000 (05:57 -0700)]
Merge pull request #1164 from icambron/feature/simpler-scoring
bulletproofing array of formats
Isaac Cambron [Sat, 5 Oct 2013 03:45:13 +0000 (23:45 -0400)]
forgot to run grunt
Isaac Cambron [Sat, 5 Oct 2013 00:28:17 +0000 (20:28 -0400)]
rethinking d vs e
Isaac Cambron [Fri, 4 Oct 2013 21:51:47 +0000 (17:51 -0400)]
satisfying grunt
Isaac Cambron [Fri, 4 Oct 2013 20:47:15 +0000 (16:47 -0400)]
test weekYear() instead of year()
Isaac Cambron [Fri, 4 Oct 2013 20:44:17 +0000 (16:44 -0400)]
address @ichernev concerns
Isaac Cambron [Fri, 4 Oct 2013 17:28:30 +0000 (13:28 -0400)]
bulletproofing array of formats
Isaac Cambron [Fri, 4 Oct 2013 09:21:59 +0000 (05:21 -0400)]
removing unused variable
Isaac Cambron [Fri, 4 Oct 2013 09:19:34 +0000 (05:19 -0400)]
fixing a possible bug with the current week year, and also a touch of cleanup
Isaac Cambron [Fri, 4 Oct 2013 09:08:00 +0000 (05:08 -0400)]
fixing indentation
Isaac Cambron [Fri, 4 Oct 2013 09:03:33 +0000 (05:03 -0400)]
make the iso parser work with the week and ordinal formats
Isaac Cambron [Fri, 4 Oct 2013 07:32:58 +0000 (03:32 -0400)]
revamping week and weekday parsing
Iskren Chernev [Thu, 3 Oct 2013 18:56:33 +0000 (11:56 -0700)]
Merge branch 'languages/en-au' into develop
Iskren Chernev [Thu, 3 Oct 2013 18:52:39 +0000 (11:52 -0700)]
Added en-au tests, fixed en-au export logic
Jared Morse [Tue, 24 Sep 2013 01:54:19 +0000 (18:54 -0700)]
en-au locale
Iskren Ivov Chernev [Thu, 3 Oct 2013 18:32:22 +0000 (11:32 -0700)]
Merge pull request #1158 from icambron/fix-format-newlines
Allow non-formatting tokens to include newlines
Iskren Chernev [Thu, 3 Oct 2013 18:28:31 +0000 (11:28 -0700)]
Merge branch 'bugfix/fix-list-iteration' into develop
Iskren Chernev [Thu, 3 Oct 2013 18:28:16 +0000 (11:28 -0700)]
Use traditional for to loop through lists array
Iskren Chernev [Thu, 3 Oct 2013 18:20:26 +0000 (11:20 -0700)]
Merge remote-tracking branch 'icambron/feature/language-chooser' into develop
Conflicts:
moment.js
Iskren Ivov Chernev [Thu, 3 Oct 2013 18:02:26 +0000 (11:02 -0700)]
Merge pull request #1140 from icambron/feature/invalid-moments
Invalid moment rework
Isaac Cambron [Thu, 3 Oct 2013 05:54:10 +0000 (01:54 -0400)]
attempt to address @ichernev's concerns
humbletim [Thu, 3 Oct 2013 00:05:55 +0000 (20:05 -0400)]
removed trailing comma in object literal
Isaac Cambron [Wed, 2 Oct 2013 22:33:35 +0000 (18:33 -0400)]
merging develop
Isaac Cambron [Wed, 2 Oct 2013 22:26:35 +0000 (18:26 -0400)]
adding missing file