]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
11 years agomaking things clearer 1141/head
Isaac Cambron [Sat, 5 Oct 2013 19:52:07 +0000 (15:52 -0400)] 
making things clearer

11 years agoforgot to run grunt
Isaac Cambron [Sat, 5 Oct 2013 03:45:13 +0000 (23:45 -0400)] 
forgot to run grunt

11 years agorethinking d vs e
Isaac Cambron [Sat, 5 Oct 2013 00:28:17 +0000 (20:28 -0400)] 
rethinking d vs e

11 years agotest weekYear() instead of year()
Isaac Cambron [Fri, 4 Oct 2013 20:47:15 +0000 (16:47 -0400)] 
test weekYear() instead of year()

11 years agoaddress @ichernev concerns
Isaac Cambron [Fri, 4 Oct 2013 20:44:17 +0000 (16:44 -0400)] 
address @ichernev concerns

11 years agoremoving unused variable
Isaac Cambron [Fri, 4 Oct 2013 09:21:59 +0000 (05:21 -0400)] 
removing unused variable

11 years agofixing a possible bug with the current week year, and also a touch of cleanup
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

11 years agofixing indentation
Isaac Cambron [Fri, 4 Oct 2013 09:08:00 +0000 (05:08 -0400)] 
fixing indentation

11 years agomake the iso parser work with the week and ordinal formats
Isaac Cambron [Fri, 4 Oct 2013 09:03:33 +0000 (05:03 -0400)] 
make the iso parser work with the week and ordinal formats

11 years agorevamping week and weekday parsing
Isaac Cambron [Fri, 4 Oct 2013 07:32:58 +0000 (03:32 -0400)] 
revamping week and weekday parsing

11 years agoMerge branch 'languages/en-au' into develop
Iskren Chernev [Thu, 3 Oct 2013 18:56:33 +0000 (11:56 -0700)] 
Merge branch 'languages/en-au' into develop

11 years agoAdded en-au tests, fixed en-au export logic
Iskren Chernev [Thu, 3 Oct 2013 18:52:39 +0000 (11:52 -0700)] 
Added en-au tests, fixed en-au export logic

11 years agoen-au locale
Jared Morse [Tue, 24 Sep 2013 01:54:19 +0000 (18:54 -0700)] 
en-au locale

11 years agoMerge pull request #1158 from icambron/fix-format-newlines
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

11 years agoMerge branch 'bugfix/fix-list-iteration' into develop
Iskren Chernev [Thu, 3 Oct 2013 18:28:31 +0000 (11:28 -0700)] 
Merge branch 'bugfix/fix-list-iteration' into develop

11 years agoUse traditional for to loop through lists array
Iskren Chernev [Thu, 3 Oct 2013 18:28:16 +0000 (11:28 -0700)] 
Use traditional for to loop through lists array

11 years agoMerge remote-tracking branch 'icambron/feature/language-chooser' into develop
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

11 years agoMerge pull request #1140 from icambron/feature/invalid-moments
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

11 years agoattempt to address @ichernev's concerns 1140/head
Isaac Cambron [Thu, 3 Oct 2013 05:54:10 +0000 (01:54 -0400)] 
attempt to address @ichernev's concerns

11 years agoremoved trailing comma in object literal 1159/head
humbletim [Thu, 3 Oct 2013 00:05:55 +0000 (20:05 -0400)] 
removed trailing comma in object literal

11 years agomerging develop
Isaac Cambron [Wed, 2 Oct 2013 22:33:35 +0000 (18:33 -0400)] 
merging develop

11 years agoadding missing file
Isaac Cambron [Wed, 2 Oct 2013 22:26:35 +0000 (18:26 -0400)] 
adding missing file

11 years agofixes for review
Isaac Cambron [Wed, 2 Oct 2013 22:25:52 +0000 (18:25 -0400)] 
fixes for review

11 years agomerging from develop 1142/head
Isaac Cambron [Wed, 2 Oct 2013 21:31:22 +0000 (17:31 -0400)] 
merging from develop

11 years agoadded some comments
Isaac Cambron [Wed, 2 Oct 2013 21:29:24 +0000 (17:29 -0400)] 
added some comments

11 years agoadded hasOwnProperty check to lists enumeration
humbletim [Wed, 2 Oct 2013 18:00:54 +0000 (14:00 -0400)] 
added hasOwnProperty check to lists enumeration

11 years agoAllow non-formatting tokens to include newlines. Fixes #1151 1158/head
Isaac Cambron [Wed, 2 Oct 2013 15:19:31 +0000 (11:19 -0400)] 
Allow non-formatting tokens to include newlines. Fixes #1151

11 years agoMerge pull request #1157 from ichernev/bugfix/bg-lt
Isaac Cambron [Wed, 2 Oct 2013 09:24:13 +0000 (02:24 -0700)] 
Merge pull request #1157 from ichernev/bugfix/bg-lt

Changed bulgarian time format to 24h

11 years agoChanged bulgarian time format to 24h 1157/head
Iskren Chernev [Wed, 2 Oct 2013 09:16:40 +0000 (13:16 +0400)] 
Changed bulgarian time format to 24h

As requested by #1148

11 years agoForgot to add moment.js changes related to 48c742c
Iskren Chernev [Wed, 2 Oct 2013 08:59:09 +0000 (12:59 +0400)] 
Forgot to add moment.js changes related to 48c742c

11 years agoMerge branch 'accept-iso-duration-take2' into develop
Iskren Chernev [Wed, 2 Oct 2013 07:22:39 +0000 (00:22 -0700)] 
Merge branch 'accept-iso-duration-take2' into develop

Conflicts:
moment.js

11 years agoSimplified iso duration regex and removed overkill invalid checking logic
Iskren Chernev [Wed, 2 Oct 2013 07:18:04 +0000 (00:18 -0700)] 
Simplified iso duration regex and removed overkill invalid checking logic

11 years agoMerge pull request #1149 from icambron/fixup-bosnian
Isaac Cambron [Mon, 30 Sep 2013 23:13:11 +0000 (16:13 -0700)] 
Merge pull request #1149 from icambron/fixup-bosnian

make bosnian consistent with change to language boilerplate

11 years agomake bosnian consistent with change to language boilerplate 1149/head
Isaac Cambron [Mon, 30 Sep 2013 23:12:07 +0000 (19:12 -0400)] 
make bosnian consistent with change to language boilerplate

11 years agoMerge pull request #1144 from frontyard/develop
Isaac Cambron [Mon, 30 Sep 2013 23:06:08 +0000 (16:06 -0700)] 
Merge pull request #1144 from frontyard/develop

Added bosnian (bs) translation.

11 years agoUse British English tests as the translation testing example
Isaac Cambron [Mon, 30 Sep 2013 16:48:52 +0000 (12:48 -0400)] 
Use British English tests as the translation testing example

11 years agoMerge pull request #1147 from mariusGundersen/feature/exportLang
Isaac Cambron [Mon, 30 Sep 2013 16:47:23 +0000 (09:47 -0700)] 
Merge pull request #1147 from mariusGundersen/feature/exportLang

Feature/export lang

11 years agoAdded the required return values to all the language files 1147/head
Marius Gundersen [Mon, 30 Sep 2013 12:52:59 +0000 (14:52 +0200)] 
Added the required return values to all the language files

11 years agoAdded test for module return value
Marius Gundersen [Mon, 30 Sep 2013 12:38:20 +0000 (14:38 +0200)] 
Added test for module return value

11 years agoreturn the name of the language which was registered
Marius Gundersen [Mon, 30 Sep 2013 12:10:54 +0000 (14:10 +0200)] 
return the name of the language which was registered

11 years agoMissed one place in test. 1144/head
Nedim Cholich [Mon, 30 Sep 2013 10:59:26 +0000 (12:59 +0200)] 
Missed one place in test.

11 years agoAdded test for bosnian (bs).
Nedim Cholich [Mon, 30 Sep 2013 10:45:50 +0000 (12:45 +0200)] 
Added test for bosnian (bs).

11 years agoAdded bosnian (bs) translation.
Nedim Cholich [Sun, 29 Sep 2013 14:58:48 +0000 (16:58 +0200)] 
Added bosnian (bs) translation.

11 years agoadding one extra test
Isaac Cambron [Sat, 28 Sep 2013 22:24:07 +0000 (18:24 -0400)] 
adding one extra test

11 years agouse language substrings
Isaac Cambron [Sat, 28 Sep 2013 22:14:17 +0000 (18:14 -0400)] 
use language substrings

11 years agopass arrays of languages
Isaac Cambron [Sat, 28 Sep 2013 08:57:32 +0000 (04:57 -0400)] 
pass arrays of languages

11 years agoparsing week data
Isaac Cambron [Sat, 28 Sep 2013 07:32:18 +0000 (03:32 -0400)] 
parsing week data

11 years agotests for invalid date string
Isaac Cambron [Fri, 27 Sep 2013 23:12:42 +0000 (19:12 -0400)] 
tests for invalid date string

11 years agoamong invalid moments, prefer the first one, regardless of score
Isaac Cambron [Fri, 27 Sep 2013 21:37:55 +0000 (17:37 -0400)] 
among invalid moments, prefer the first one, regardless of score

11 years agoskippedInput + trailingInput = unusedInput
Isaac Cambron [Fri, 27 Sep 2013 21:20:02 +0000 (17:20 -0400)] 
skippedInput + trailingInput = unusedInput

11 years agomerge develop
Isaac Cambron [Fri, 27 Sep 2013 20:58:34 +0000 (16:58 -0400)] 
merge develop

11 years agotests and a working isDSTShifted
Isaac Cambron [Fri, 27 Sep 2013 20:49:37 +0000 (16:49 -0400)] 
tests and a working isDSTShifted

11 years agoMerge pull request #1139 from ichernev/feature/unlocalize-to-string
Isaac Cambron [Fri, 27 Sep 2013 14:33:01 +0000 (07:33 -0700)] 
Merge pull request #1139 from ichernev/feature/unlocalize-to-string

toString always prints date in English

11 years agotoString always prints date in English 1139/head
Iskren Chernev [Thu, 26 Sep 2013 17:36:41 +0000 (10:36 -0700)] 
toString always prints date in English

11 years agosimplify empty handling 1098/head
Isaac Cambron [Thu, 26 Sep 2013 16:25:57 +0000 (12:25 -0400)] 
simplify empty handling

11 years agomore cleanup
Isaac Cambron [Thu, 26 Sep 2013 12:11:17 +0000 (08:11 -0400)] 
more cleanup

11 years agoMerge pull request #1137 from bakatamas/develop
Isaac Cambron [Thu, 26 Sep 2013 11:52:01 +0000 (04:52 -0700)] 
Merge pull request #1137 from bakatamas/develop

Updates to hu.js

11 years agofixing isValid() definition
Isaac Cambron [Thu, 26 Sep 2013 11:32:00 +0000 (07:32 -0400)] 
fixing isValid() definition

11 years agosome cleanup
Isaac Cambron [Thu, 26 Sep 2013 11:27:55 +0000 (07:27 -0400)] 
some cleanup

11 years agoparse flags
Isaac Cambron [Thu, 26 Sep 2013 11:11:48 +0000 (07:11 -0400)] 
parse flags

11 years agoMerge pull request #1138 from ichernev/bugfix/iis-compatible-filenames
Isaac Cambron [Thu, 26 Sep 2013 08:42:37 +0000 (01:42 -0700)] 
Merge pull request #1138 from ichernev/bugfix/iis-compatible-filenames

Removed + from bundled file names

11 years agoRemoved + from bundled file names 1138/head
Iskren Chernev [Thu, 26 Sep 2013 08:32:02 +0000 (01:32 -0700)] 
Removed + from bundled file names

IIS has issues with files containing +. fixes #1118

11 years agoUse UMD in lang/uz.js
Iskren Chernev [Thu, 26 Sep 2013 08:25:46 +0000 (01:25 -0700)] 
Use UMD in lang/uz.js

11 years agoUpdate hu.js 1137/head
bakatamas [Thu, 26 Sep 2013 07:55:30 +0000 (09:55 +0200)] 
Update hu.js

11 years agoMerge branch 'icambron/feature/invalid-moments' into develop
Iskren Chernev [Thu, 26 Sep 2013 07:47:02 +0000 (00:47 -0700)] 
Merge branch 'icambron/feature/invalid-moments' into develop

11 years agoUpdate hu.js
bakatamas [Thu, 26 Sep 2013 07:46:21 +0000 (09:46 +0200)] 
Update hu.js

11 years agousing NaN instead of 0
Isaac Cambron [Tue, 17 Sep 2013 01:31:36 +0000 (21:31 -0400)] 
using NaN instead of 0

11 years agofixing jshint error from rebase
Isaac Cambron [Mon, 16 Sep 2013 03:51:46 +0000 (23:51 -0400)] 
fixing jshint error from rebase

11 years agoadded ability to create invalid moments
Isaac Cambron [Sun, 15 Sep 2013 23:22:03 +0000 (19:22 -0400)] 
added ability to create invalid moments

11 years agoUpdate hu.js
bakatamas [Thu, 26 Sep 2013 07:44:43 +0000 (09:44 +0200)] 
Update hu.js

11 years agomerging in develop
Isaac Cambron [Thu, 26 Sep 2013 04:14:35 +0000 (00:14 -0400)] 
merging in develop

11 years agoMerge pull request #1129 from muminoff/develop
Isaac Cambron [Wed, 25 Sep 2013 06:57:36 +0000 (23:57 -0700)] 
Merge pull request #1129 from muminoff/develop

Added support for uzbek language

11 years agoAdded uzbek language and tested 1129/head
muminoff [Wed, 25 Sep 2013 06:47:25 +0000 (15:47 +0900)] 
Added uzbek language and tested

11 years agoMerge pull request #1121 from mmozuras/feature/convert_lt_and_vn_to_umd
Isaac Cambron [Tue, 24 Sep 2013 18:51:31 +0000 (11:51 -0700)] 
Merge pull request #1121 from mmozuras/feature/convert_lt_and_vn_to_umd

Feature/convert lt and vn to UMD

11 years agoMerge pull request #1123 from adambiggs/umd-bug-fix
Isaac Cambron [Tue, 24 Sep 2013 04:52:36 +0000 (21:52 -0700)] 
Merge pull request #1123 from adambiggs/umd-bug-fix

Bug fix for recent changes in moment.utc()

11 years agoDon't call .utc() if makeMoment() returns null 1123/head
Adam Biggs [Fri, 20 Sep 2013 21:26:50 +0000 (14:26 -0700)] 
Don't call .utc() if makeMoment() returns null

11 years agoFailing tests for moment.utc() returning null
Adam Biggs [Fri, 20 Sep 2013 21:25:55 +0000 (14:25 -0700)] 
Failing tests for moment.utc() returning null

11 years agoConvert lang/vn.js to UMD 1121/head
Mindaugas Mozūras [Fri, 20 Sep 2013 08:39:48 +0000 (11:39 +0300)] 
Convert lang/vn.js to UMD

11 years agoConvert lang/lt.js to UMD
Mindaugas Mozūras [Fri, 20 Sep 2013 08:39:32 +0000 (11:39 +0300)] 
Convert lang/lt.js to UMD

11 years agowip
Isaac Cambron [Fri, 20 Sep 2013 08:07:57 +0000 (04:07 -0400)] 
wip

11 years agoMerge pull request #1115 from Xotic750/extendDontEnum
Iskren Ivov Chernev [Wed, 18 Sep 2013 07:22:45 +0000 (00:22 -0700)] 
Merge pull request #1115 from Xotic750/extendDontEnum

extend() now works on IE < 9

11 years agoMerge pull request #1116 from Xotic750/DurationNormalization
Isaac Cambron [Wed, 18 Sep 2013 00:44:03 +0000 (17:44 -0700)] 
Merge pull request #1116 from Xotic750/DurationNormalization

Improve Duration function by normalizing the input object.

11 years agoImprove Duration function by normalizing the input object. 1116/head
Xotic750 [Wed, 18 Sep 2013 00:00:52 +0000 (02:00 +0200)] 
Improve Duration function by normalizing the input object.
Created a new function (normalizeObjectUnits), this is now also used by dateFromObject

Fixed spacing or jshint

Fixed missing argument

11 years agoAdjust indentation 1115/head
Xotic750 [Tue, 17 Sep 2013 23:21:55 +0000 (01:21 +0200)] 
Adjust indentation

11 years agoChanged to the simpler workaround rather than full blown fix.
Xotic750 [Tue, 17 Sep 2013 23:19:16 +0000 (01:19 +0200)] 
Changed to the simpler workaround rather than full blown fix.

https://github.com/moment/moment/issues/1114#issuecomment-24629678

11 years agoPossible fix: Using extend() with Moment's prototypes breaks IE < 9
Xotic750 [Tue, 17 Sep 2013 23:01:41 +0000 (01:01 +0200)] 
Possible fix: Using extend() with Moment's prototypes breaks IE < 9

https://github.com/moment/moment/issues/1114

11 years agoParsing with array and strict parsing now play nicely
Iskren Chernev [Tue, 17 Sep 2013 07:51:27 +0000 (00:51 -0700)] 
Parsing with array and strict parsing now play nicely

11 years agoRemoving duplicate regexpEscape function
Iskren Chernev [Tue, 17 Sep 2013 07:38:11 +0000 (00:38 -0700)] 
Removing duplicate regexpEscape function

11 years agoMerge pull request #1097 from icambron/feature/list-months
Iskren Ivov Chernev [Tue, 17 Sep 2013 07:24:11 +0000 (00:24 -0700)] 
Merge pull request #1097 from icambron/feature/list-months

List months and weekdays

11 years agoMerge pull request #913 from ichernev/features/better-parsing
Iskren Ivov Chernev [Tue, 17 Sep 2013 07:22:18 +0000 (00:22 -0700)] 
Merge pull request #913 from ichernev/features/better-parsing

Added strict parsing.

Use with moment(date, format, [lang], true), or moment.utc(date, format, [lang], true).

11 years agoMake jshint happy 913/head
Iskren Chernev [Tue, 17 Sep 2013 07:14:19 +0000 (00:14 -0700)] 
Make jshint happy

11 years agoAdded more tests
Iskren Chernev [Mon, 16 Sep 2013 11:09:01 +0000 (04:09 -0700)] 
Added more tests

11 years agoAddressed @icambron remarks
Iskren Chernev [Mon, 16 Sep 2013 10:50:15 +0000 (03:50 -0700)] 
Addressed @icambron remarks

11 years agoRemoved comments and added tests
Iskren Chernev [Sun, 14 Jul 2013 06:39:33 +0000 (23:39 -0700)] 
Removed comments and added tests

11 years agoStrict parsing now works. Add tests!
Iskren Chernev [Mon, 24 Jun 2013 17:15:45 +0000 (10:15 -0700)] 
Strict parsing now works. Add tests!

11 years agoAdded strict parsing
Iskren Chernev [Sat, 27 Apr 2013 06:54:15 +0000 (23:54 -0700)] 
Added strict parsing

11 years agoMerge pull request #1110 from arshaw/hotfix/2.2.1
Isaac Cambron [Tue, 17 Sep 2013 06:22:32 +0000 (23:22 -0700)] 
Merge pull request #1110 from arshaw/hotfix/2.2.1

UTC-mode .weekday() is incorrect

11 years agosimplify weekday-utc test 1110/head
Adam Shaw [Tue, 17 Sep 2013 06:10:31 +0000 (23:10 -0700)] 
simplify weekday-utc test

11 years agotest for utc-mode .weekday() being incorrect
Adam Shaw [Tue, 17 Sep 2013 05:25:30 +0000 (22:25 -0700)] 
test for utc-mode .weekday() being incorrect

11 years agofix for utc-mode .weekday() being incorrect
Adam Shaw [Tue, 17 Sep 2013 05:24:57 +0000 (22:24 -0700)] 
fix for utc-mode .weekday() being incorrect