]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
11 years agoAdd test for parseZone TZ inference case 1347/head
pimterry [Sun, 15 Dec 2013 17:50:56 +0000 (17:50 +0000)] 
Add test for parseZone TZ inference case

11 years agoMake parseZone() use the format-specified timezone if available
Tim Perry [Wed, 11 Dec 2013 08:21:35 +0000 (08:21 +0000)] 
Make parseZone() use the format-specified timezone if available

11 years agoParse for tz from the right in zone(), fixes #1336
pimterry [Wed, 11 Dec 2013 07:56:21 +0000 (07:56 +0000)] 
Parse for tz from the right in zone(), fixes #1336

11 years agoMerge pull request #1354 from robgallen/patch-1
Iskren Ivov Chernev [Thu, 12 Dec 2013 17:56:37 +0000 (09:56 -0800)] 
Merge pull request #1354 from robgallen/patch-1

Update readme.md

11 years agoMerge pull request #1351 from pimterry/fixUtcNowTest
Iskren Ivov Chernev [Thu, 12 Dec 2013 17:56:05 +0000 (09:56 -0800)] 
Merge pull request #1351 from pimterry/fixUtcNowTest

Fix fragile UTC default time test (fixes #1335)

11 years agoUpdate readme.md 1354/head
Robert Allen [Thu, 12 Dec 2013 16:33:11 +0000 (16:33 +0000)] 
Update readme.md

Adding Welsh language was issue 1215 not 1214

11 years agoFix fragile utc default time test 1351/head
pimterry [Wed, 11 Dec 2013 21:18:09 +0000 (21:18 +0000)] 
Fix fragile utc default time test

11 years agoMerge pull request #1350 from ichernev/bugfix/iso-week-parse-small-years
Isaac Cambron [Wed, 11 Dec 2013 20:53:34 +0000 (12:53 -0800)] 
Merge pull request #1350 from ichernev/bugfix/iso-week-parse-small-years

Fix iso week parsing for small years

11 years agoFix iso week parsing for small years 1350/head
Iskren Chernev [Wed, 11 Dec 2013 18:29:53 +0000 (10:29 -0800)] 
Fix iso week parsing for small years

Apparently Date.UTC works only for years after 1900:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date

To form an iso date, from any given year you should use an iso formatted
string. That string doesn't need 'Z' in the end ...

11 years agoMerge pull request #1349 from ichernev/feature/iso-long-year-format
Isaac Cambron [Wed, 11 Dec 2013 18:19:16 +0000 (10:19 -0800)] 
Merge pull request #1349 from ichernev/feature/iso-long-year-format

toISOString supports long and negative years

11 years agoMerge pull request #1348 from ichernev/bugfix/YYYY-handle-negative
Iskren Ivov Chernev [Wed, 11 Dec 2013 18:17:23 +0000 (10:17 -0800)] 
Merge pull request #1348 from ichernev/bugfix/YYYY-handle-negative

Fix leftZeroFill for negative numbers

11 years agoFix tests 1348/head
Iskren Chernev [Wed, 11 Dec 2013 09:24:09 +0000 (01:24 -0800)] 
Fix tests

11 years agoUse YYYYYY format in iso string for big and negative years 1349/head
Iskren Chernev [Wed, 11 Dec 2013 09:18:48 +0000 (01:18 -0800)] 
Use YYYYYY format in iso string for big and negative years

11 years agoAdd YYYYYY format for iso string
Iskren Chernev [Wed, 11 Dec 2013 09:18:24 +0000 (01:18 -0800)] 
Add YYYYYY format for iso string

11 years agoFix zerofill for negative numbers
Iskren Chernev [Wed, 11 Dec 2013 08:59:05 +0000 (00:59 -0800)] 
Fix zerofill for negative numbers

11 years agoMerge pull request #1346 from zenozeng/develop
Iskren Ivov Chernev [Wed, 11 Dec 2013 08:19:57 +0000 (00:19 -0800)] 
Merge pull request #1346 from zenozeng/develop

use YYYY-MM-DD for L in lang/zh-cn.js

11 years agouse YYYY-MM-DD for L in lang/zh-cn.js 1346/head
Zeno Zeng [Wed, 11 Dec 2013 06:47:37 +0000 (14:47 +0800)] 
use YYYY-MM-DD for L in lang/zh-cn.js

11 years agoMerge pull request #2 from moment/develop
Zeno Zeng [Wed, 11 Dec 2013 06:37:49 +0000 (22:37 -0800)] 
Merge pull request #2 from moment/develop

Merge commits from upstream

11 years agoMerge pull request #1343 from Frost/develop
Iskren Ivov Chernev [Mon, 9 Dec 2013 17:16:59 +0000 (09:16 -0800)] 
Merge pull request #1343 from Frost/develop

Ignore tests when publishing to npm

11 years agoIgnore tests when publishing to npm 1343/head
Martin Frost [Mon, 9 Dec 2013 17:11:38 +0000 (18:11 +0100)] 
Ignore tests when publishing to npm

11 years agoMerge pull request #1337 from B0k0/develop
Isaac Cambron [Sat, 7 Dec 2013 21:30:30 +0000 (13:30 -0800)] 
Merge pull request #1337 from B0k0/develop

Add Macedonian Language

11 years agoAdd Macedonian Language 1337/head
Borislav Mickov [Sat, 7 Dec 2013 13:13:00 +0000 (14:13 +0100)] 
Add Macedonian Language

11 years agojspm configuration adjustment
Guy Bedford [Thu, 5 Dec 2013 13:52:48 +0000 (15:52 +0200)] 
jspm configuration adjustment

11 years agosupport moment language files
Guy Bedford [Wed, 27 Nov 2013 14:39:19 +0000 (16:39 +0200)] 
support moment language files

11 years agoinclude jspm package.json config
Guy Bedford [Tue, 26 Nov 2013 19:46:38 +0000 (21:46 +0200)] 
include jspm package.json config

11 years agoTesting the new translation for "fer seconds"
antonellopasella [Tue, 26 Nov 2013 09:46:55 +0000 (10:46 +0100)] 
Testing the new translation for "fer seconds"

11 years agoTranslated "few seconds" to "alcuni secondi"
antonellopasella [Tue, 26 Nov 2013 09:45:36 +0000 (10:45 +0100)] 
Translated "few seconds" to "alcuni secondi"

11 years agoMerge pull request #1330 from mdxs/develop
Isaac Cambron [Wed, 4 Dec 2013 08:30:54 +0000 (00:30 -0800)] 
Merge pull request #1330 from mdxs/develop

Dropping unused variables

11 years agoMerge pull request #1278 from ichernev/bugfix/timezone-display
Iskren Ivov Chernev [Tue, 3 Dec 2013 18:31:14 +0000 (10:31 -0800)] 
Merge pull request #1278 from ichernev/bugfix/timezone-display

ZZ formats partial hour zones like 0550 instead of 0530

11 years agoDropping unused variables 1330/head
mdxs [Tue, 3 Dec 2013 13:22:04 +0000 (13:22 +0000)] 
Dropping unused variables

11 years agoMerge pull request #1324 from tk120404/develop
Isaac Cambron [Mon, 2 Dec 2013 07:41:13 +0000 (23:41 -0800)] 
Merge pull request #1324 from tk120404/develop

tamil translation

11 years agotamil translation 1324/head
Arjunkumar Krishnamoorthy [Mon, 2 Dec 2013 04:29:30 +0000 (09:59 +0530)] 
tamil translation

11 years agoMerge pull request #1319 from limonte/develop
Iskren Ivov Chernev [Fri, 29 Nov 2013 16:51:25 +0000 (08:51 -0800)] 
Merge pull request #1319 from limonte/develop

Added serbian (rs) translation.

11 years agoAdded serbian (rs) translation. 1319/head
Limon Monte [Fri, 29 Nov 2013 09:35:56 +0000 (10:35 +0100)] 
Added serbian (rs) translation.

11 years agoAdded serbian (rs) translation.
Limon Monte [Fri, 29 Nov 2013 09:35:56 +0000 (10:35 +0100)] 
Added serbian (rs) translation.

11 years agoAdded serbian (rs) translation.
Limon Monte [Fri, 29 Nov 2013 09:35:56 +0000 (10:35 +0100)] 
Added serbian (rs) translation.

11 years agoAdded serbian (rs) translation.
limon [Thu, 28 Nov 2013 13:54:59 +0000 (14:54 +0100)] 
Added serbian (rs) translation.

11 years agoAdd tests for format('ZZ') 1278/head
Iskren Chernev [Wed, 27 Nov 2013 09:34:01 +0000 (01:34 -0800)] 
Add tests for format('ZZ')

11 years agoMerge pull request #1302 from icambron/fix-dst-calendar
Iskren Ivov Chernev [Tue, 26 Nov 2013 21:25:10 +0000 (13:25 -0800)] 
Merge pull request #1302 from icambron/fix-dst-calendar

simplifying diff

11 years agoMerge pull request #1303 from icambron/strict-tokens
Iskren Ivov Chernev [Tue, 26 Nov 2013 21:23:37 +0000 (13:23 -0800)] 
Merge pull request #1303 from icambron/strict-tokens

Strict tokens making strick parsing stricter

11 years agoMerge pull request #1311 from ericstob/develop
Isaac Cambron [Tue, 26 Nov 2013 19:46:15 +0000 (11:46 -0800)] 
Merge pull request #1311 from ericstob/develop

Add quarter 'q' to format string

11 years agochange name of quarterOfYear to quarter 1311/head
Eric Hartford [Tue, 26 Nov 2013 19:37:50 +0000 (11:37 -0800)] 
change name of quarterOfYear to quarter

11 years agoChange quarter format string to upper case Q
Eric Hartford [Tue, 26 Nov 2013 19:18:47 +0000 (11:18 -0800)] 
Change quarter format string to upper case Q

11 years agoAdd quarter 'q' to format string
Eric Hartford [Tue, 26 Nov 2013 18:50:28 +0000 (10:50 -0800)] 
Add quarter 'q' to format string

11 years agofixing JS hint errors for strict-tokens 1303/head
Isaac Cambron [Mon, 25 Nov 2013 17:41:28 +0000 (12:41 -0500)] 
fixing JS hint errors for strict-tokens

11 years agomade tokens strict in strict mode
Isaac Cambron [Mon, 25 Nov 2013 17:39:19 +0000 (12:39 -0500)] 
made tokens strict in strict mode

11 years agosimplifying diff. Fixes #1227 1302/head
Isaac Cambron [Mon, 25 Nov 2013 01:58:03 +0000 (20:58 -0500)] 
simplifying diff. Fixes #1227

11 years agoMerge pull request #1292 from And-re/patch-2
Isaac Cambron [Sat, 23 Nov 2013 20:22:44 +0000 (12:22 -0800)] 
Merge pull request #1292 from And-re/patch-2

Fix plural function for Polish language

11 years agoAdd 2 additional tests for Polish language 1292/head
And-re [Sat, 23 Nov 2013 04:33:13 +0000 (05:33 +0100)] 
Add 2 additional tests for Polish language

11 years agofix conflict between makeGlobal PRs
Isaac Cambron [Fri, 22 Nov 2013 18:48:26 +0000 (13:48 -0500)] 
fix conflict between makeGlobal PRs

11 years agofixing lb linting
Isaac Cambron [Fri, 22 Nov 2013 18:44:34 +0000 (13:44 -0500)] 
fixing lb linting

11 years agoMerge pull request #1264 from ichernev/bugfix/deprecated-export-static-methods
Isaac Cambron [Fri, 22 Nov 2013 18:23:08 +0000 (10:23 -0800)] 
Merge pull request #1264 from ichernev/bugfix/deprecated-export-static-methods

Add all moment static functions to deprecated global export

11 years agoMerge pull request #1296 from maiis/develop
Isaac Cambron [Fri, 22 Nov 2013 17:22:17 +0000 (09:22 -0800)] 
Merge pull request #1296 from maiis/develop

correct the command to install grunt

11 years agocorrect the command to install grunt 1296/head
Emmanuel Vuigner [Fri, 22 Nov 2013 13:13:06 +0000 (13:13 +0000)] 
correct the command to install grunt

11 years agoUpdate tests for Polish language
And-re [Fri, 22 Nov 2013 04:54:54 +0000 (05:54 +0100)] 
Update tests for Polish language

11 years agoMerge pull request #1294 from ichernev/bugfix/iso-format-z
Isaac Cambron [Fri, 22 Nov 2013 01:56:32 +0000 (17:56 -0800)] 
Merge pull request #1294 from ichernev/bugfix/iso-format-z

Handle iso format where Z is prefixed with spaces

11 years agoHandle iso format where Z is prefixed with spaces 1294/head
Iskren Chernev [Fri, 22 Nov 2013 00:02:26 +0000 (16:02 -0800)] 
Handle iso format where Z is prefixed with spaces

In response to #1290

11 years agoMerge pull request #1293 from vafada/develop
Iskren Ivov Chernev [Thu, 21 Nov 2013 23:26:11 +0000 (15:26 -0800)] 
Merge pull request #1293 from vafada/develop

make moment.js compatible with older version of requirejs

11 years agomake moment.js compatible with older version of requirejs 1293/head
Mark Bryan Yu [Thu, 21 Nov 2013 22:33:01 +0000 (17:33 -0500)] 
make moment.js compatible with older version of requirejs

11 years agoFix plural function for Polish language
And-re [Thu, 21 Nov 2013 13:11:51 +0000 (14:11 +0100)] 
Fix plural function for Polish language

Current version:
moment.duration(112, "years").humanize(); // 112 lata
moment.duration(213, "years").humanize(); // 213 lata

New version:
moment.duration(112, "years").humanize(); // 112 lat
moment.duration(213, "years").humanize(); // 213 lat

Real examples:
https://pl.wikipedia.org/wiki/Lista_najstarszych_ludzi_w_Polsce

11 years agoMerge pull request #1282 from ragulka/develop
Isaac Cambron [Wed, 20 Nov 2013 15:48:01 +0000 (07:48 -0800)] 
Merge pull request #1282 from ragulka/develop

Fix & improve estonian locale

11 years agoMerge pull request #1283 from yukulele/patch-1
Isaac Cambron [Tue, 19 Nov 2013 23:34:55 +0000 (15:34 -0800)] 
Merge pull request #1283 from yukulele/patch-1

Update readme.md

11 years agoUpdate readme.md 1283/head
yukulele [Tue, 19 Nov 2013 23:22:14 +0000 (00:22 +0100)] 
Update readme.md

fix wiki syntax error

11 years agoMerge pull request #1280 from st3redstripe/develop
Iskren Ivov Chernev [Tue, 19 Nov 2013 18:23:47 +0000 (10:23 -0800)] 
Merge pull request #1280 from st3redstripe/develop

Ensure module.config() returns an object - for Dojo compat

11 years agoFix & improve estonian locale 1282/head
Illimar Tambek [Tue, 19 Nov 2013 08:19:46 +0000 (10:19 +0200)] 
Fix & improve estonian locale

11 years agoEnsure module.config() returns an object 1280/head
Stephen Bradshaw [Mon, 18 Nov 2013 15:43:06 +0000 (15:43 +0000)] 
Ensure module.config() returns an object

11 years agoZZ formats partial hour zones like 0550 instead of 0530
Iskren Chernev [Mon, 18 Nov 2013 02:27:31 +0000 (08:57 +0630)] 
ZZ formats partial hour zones like 0550 instead of 0530

11 years agoMerge pull request #1265 from ichernev/feature/moment-strict-mode-compat
Isaac Cambron [Wed, 13 Nov 2013 20:49:48 +0000 (12:49 -0800)] 
Merge pull request #1265 from ichernev/feature/moment-strict-mode-compat

Properly use global this to export moment

11 years agoMerge pull request #1 from moment/develop
Zeno Zeng [Tue, 12 Nov 2013 07:11:22 +0000 (23:11 -0800)] 
Merge pull request #1 from moment/develop

Fetch update

11 years agoProperly use global this to export moment 1265/head
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

11 years agoAdd all moment static functions to deprecated global export 1264/head
Iskren Chernev [Sat, 9 Nov 2013 17:10:20 +0000 (09:10 -0800)] 
Add all moment static functions to deprecated global export

Fixes #1239

11 years agoMerge pull request #1255 from adelgado/separator-comment-typo
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'

11 years agoFix typo on word 'separator' 1255/head
Alessandro Delgado [Wed, 6 Nov 2013 11:29:00 +0000 (12:29 +0100)] 
Fix typo on word 'separator'

11 years agoMerge pull request #1247 from mweimerskirch/lang_lb
Isaac Cambron [Sat, 2 Nov 2013 21:14:06 +0000 (14:14 -0700)] 
Merge pull request #1247 from mweimerskirch/lang_lb

Added Luxembourgish (lb)

11 years agoAdded Luxembourgish (lb) 1247/head
Michel Weimerskirch [Sat, 2 Nov 2013 13:48:14 +0000 (14:48 +0100)] 
Added Luxembourgish (lb)

11 years agoMerge pull request #1246 from tehnicaorg/develop
Isaac Cambron [Sat, 2 Nov 2013 16:34:07 +0000 (09:34 -0700)] 
Merge pull request #1246 from tehnicaorg/develop

Romanian fixes

11 years agoUse English as test output in Romanian test. 1246/head
Andrei Damian-Fekete [Sat, 2 Nov 2013 00:09:17 +0000 (01:09 +0100)] 
Use English as test output in Romanian test.

11 years agoFix Romanian plural names
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 )

11 years agoFix Romanian Tuesday name.
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.

11 years agoFix Romanian standard date format.
Andrei Damian-Fekete [Fri, 1 Nov 2013 22:53:11 +0000 (23:53 +0100)] 
Fix Romanian standard date format.

Use dot instead of slash.

11 years agoFix Romanian translations.
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.

11 years agoMerge pull request #1243 from ichernev/bugfix/support-moment-add-duration
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

11 years agoFixed cloning a modified duration 1243/head
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

11 years agoMerge pull request #1238 from jgerigmeyer/develop
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.

11 years agoMerge pull request #1240 from YannickL/develop
Iskren Ivov Chernev [Thu, 31 Oct 2013 17:04:39 +0000 (10:04 -0700)] 
Merge pull request #1240 from YannickL/develop

Fix albanian translation

11 years ago[UPDATE] Albanian Tests 1240/head
Yannick Loriot [Wed, 30 Oct 2013 15:33:14 +0000 (16:33 +0100)] 
[UPDATE] Albanian Tests

11 years agoMerge branch 'develop' of https://github.com/moment/moment into develop
Yannick Loriot [Wed, 30 Oct 2013 15:27:43 +0000 (16:27 +0100)] 
Merge branch 'develop' of https://github.com/moment/moment into develop

11 years ago[FIX] Albanian translation
Yannick Loriot [Wed, 30 Oct 2013 13:26:30 +0000 (14:26 +0100)] 
[FIX] Albanian translation

11 years agoAdd specific check for "require" in hasModule check (fixes bug when using with QUnit). 1238/head
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).

11 years agoMerge pull request #1224 from zenozeng/develop
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

11 years agoupdate test/lang/zh-cn.js, skip next week test if target is tomorrow 1224/head
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

11 years agoBumping version to 2.4.0 2.4.0
Iskren Chernev [Sun, 27 Oct 2013 02:25:24 +0000 (19:25 -0700)] 
Bumping version to 2.4.0

11 years agoFix globally-exporter wrapper
Iskren Chernev [Sun, 27 Oct 2013 02:18:03 +0000 (19:18 -0700)] 
Fix globally-exporter wrapper

11 years agoMerge pull request #1220 from ichernev/deprecate-global
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

11 years agoDeprecate use of globally exported moment in case of AMD and CommonJS 1220/head
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.

11 years agoMerge pull request #1219 from ichernev/bugfix/ie8-fixes
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

11 years agoRemoved forEach from format tests 1219/head
Iskren Chernev [Fri, 25 Oct 2013 06:36:29 +0000 (23:36 -0700)] 
Removed forEach from format tests

11 years agoMerge pull request #1195 from jarosluv/develop
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.

11 years agoMerge remote-tracking branch 'origin/develop' into develop 1195/head
jarosluv [Fri, 25 Oct 2013 20:04:23 +0000 (00:04 +0400)] 
Merge remote-tracking branch 'origin/develop' into develop

Conflicts:
lang/ru.js

11 years agoModified regular expressions for correct formatting of grammatical cases in Russian...
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?'.