]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
11 years agoChinese noon ends 12:30 1056/head
Iskren Chernev [Mon, 9 Sep 2013 00:03:42 +0000 (17:03 -0700)] 
Chinese noon ends 12:30

11 years agoFixed wrong Chinese meridiem time
Iskren Chernev [Sun, 8 Sep 2013 23:27:40 +0000 (16:27 -0700)] 
Fixed wrong Chinese meridiem time

Better implementation for #865

11 years agoFixed typo in readme
Iskren Chernev [Thu, 12 Sep 2013 11:28:49 +0000 (04:28 -0700)] 
Fixed typo in readme

11 years agoBumping version to 2.2.1 2.2.1
Iskren Chernev [Thu, 12 Sep 2013 08:37:57 +0000 (01:37 -0700)] 
Bumping version to 2.2.1

11 years agoUpdated authors/contributors lists
Iskren Chernev [Thu, 12 Sep 2013 08:35:51 +0000 (01:35 -0700)] 
Updated authors/contributors lists

11 years agoFixed a bug in string_prototype test
Iskren Chernev [Thu, 12 Sep 2013 08:15:50 +0000 (01:15 -0700)] 
Fixed a bug in string_prototype test

11 years agoBumping version to 2.2.0 2.2.0
Iskren Chernev [Wed, 11 Sep 2013 09:42:20 +0000 (02:42 -0700)] 
Bumping version to 2.2.0

11 years agoFixed bug in creating moment with object
Iskren Chernev [Wed, 11 Sep 2013 09:28:38 +0000 (02:28 -0700)] 
Fixed bug in creating moment with object

11 years agoUse github.com/moment instead of github.com/timrwood repo
Tim Wood [Mon, 9 Sep 2013 21:49:34 +0000 (14:49 -0700)] 
Use github.com/moment instead of github.com/timrwood repo

11 years agoMerge pull request #1057 from wyantb/moment+langs
Iskren Ivov Chernev [Mon, 9 Sep 2013 07:38:14 +0000 (00:38 -0700)] 
Merge pull request #1057 from wyantb/moment+langs

Allow creation of moment+langs.js

11 years agoMake jshint happy
Iskren Chernev [Mon, 9 Sep 2013 07:36:22 +0000 (00:36 -0700)] 
Make jshint happy

11 years agoConvert lang/hr.js to UMD
Iskren Chernev [Mon, 9 Sep 2013 07:34:37 +0000 (00:34 -0700)] 
Convert lang/hr.js to UMD

Somehow missed this file in #1012

11 years agoAllow creation of moment+langs.js 1057/head
Brian Wyant [Mon, 9 Sep 2013 00:20:46 +0000 (20:20 -0400)] 
Allow creation of moment+langs.js

moment+langs.js is a version of moment.js, prepackaged with all
languages.

11 years agoMerge branch 'develop' of github.com:moment/moment into develop
Iskren Chernev [Sun, 8 Sep 2013 23:02:19 +0000 (16:02 -0700)] 
Merge branch 'develop' of github.com:moment/moment into develop

Conflicts:
lang/da.js
lang/ru.js

11 years agoMerge pull request #1051 from kvakulo/da-lang-fix
Iskren Ivov Chernev [Sun, 8 Sep 2013 22:53:58 +0000 (15:53 -0700)] 
Merge pull request #1051 from kvakulo/da-lang-fix

Fix da lang: Months and days should be lowercase

11 years agoMerge pull request #1055 from icambron/create-with-object
Iskren Ivov Chernev [Sun, 8 Sep 2013 22:53:13 +0000 (15:53 -0700)] 
Merge pull request #1055 from icambron/create-with-object

create moments with objects

11 years agoMerge pull request #942 from borodean/feature/lang-ru-months-abbr
Iskren Ivov Chernev [Sun, 8 Sep 2013 18:23:09 +0000 (11:23 -0700)] 
Merge pull request #942 from borodean/feature/lang-ru-months-abbr

Makes month abbreviations be able to case in Russian

11 years agoMerge branch 'feature/umd-lang' into develop
Iskren Chernev [Sun, 8 Sep 2013 18:17:37 +0000 (11:17 -0700)] 
Merge branch 'feature/umd-lang' into develop

Conflicts:
lang/nb.js

11 years agoFixed indentation
Iskren Chernev [Sun, 8 Sep 2013 18:00:44 +0000 (11:00 -0700)] 
Fixed indentation

11 years agoMerge pull request #1033 from GabrielHedges/develop
Iskren Ivov Chernev [Sun, 8 Sep 2013 17:59:09 +0000 (10:59 -0700)] 
Merge pull request #1033 from GabrielHedges/develop

Made isPM function more compatible with IE8 Quirks Mode and IE7 Standard...

11 years agoMerge pull request #1042 from igorlima/fixing-travis-ci-badges
Iskren Ivov Chernev [Sun, 8 Sep 2013 17:56:14 +0000 (10:56 -0700)] 
Merge pull request #1042 from igorlima/fixing-travis-ci-badges

Fixing travis ci badges

11 years agofixed jshint issues 1055/head
Isaac Cambron [Sat, 7 Sep 2013 23:03:17 +0000 (19:03 -0400)] 
fixed jshint issues

11 years agocreate moments with objects
Isaac Cambron [Sat, 7 Sep 2013 22:44:29 +0000 (18:44 -0400)] 
create moments with objects

11 years agoFix da lang: Months and days should be lowercase 1051/head
Regin Larsen [Thu, 5 Sep 2013 11:18:11 +0000 (13:18 +0200)] 
Fix da lang: Months and days should be lowercase

11 years agoFixing travis ci badges 1042/head
Igor Lima [Tue, 3 Sep 2013 22:18:36 +0000 (19:18 -0300)] 
Fixing travis ci badges

11 years agoMerge pull request #1021 from icambron/hour-alignment-redux
Tim Wood [Tue, 3 Sep 2013 20:33:42 +0000 (13:33 -0700)] 
Merge pull request #1021 from icambron/hour-alignment-redux

Hour alignment redux

11 years agoMerge pull request #1022 from sigurdga/develop
Tim Wood [Tue, 3 Sep 2013 18:41:09 +0000 (11:41 -0700)] 
Merge pull request #1022 from sigurdga/develop

Updates to the norwegian bokmål translation

11 years agoreview-based fixes 1021/head
Isaac Cambron [Mon, 2 Sep 2013 02:20:00 +0000 (22:20 -0400)] 
review-based fixes

11 years agoMerge pull request #1019 from bentaber/calendar-with-zone
Iskren Ivov Chernev [Thu, 29 Aug 2013 09:03:18 +0000 (02:03 -0700)] 
Merge pull request #1019 from bentaber/calendar-with-zone

Respect timezone settings for .calendar() format

11 years agoRevert "Merge pull request #1027 from recallfx/feature/LT-translation"
Iskren Chernev [Thu, 29 Aug 2013 08:48:28 +0000 (01:48 -0700)] 
Revert "Merge pull request #1027 from recallfx/feature/LT-translation"

This reverts commit a0d58f2ff217fb6faa9a874b517819b4ab8fd372, reversing
changes made to 9c14c8c24c8f368d1abb76530aef72f480aa0452.

11 years agoMerge pull request #1027 from recallfx/feature/LT-translation
Iskren Ivov Chernev [Thu, 29 Aug 2013 08:43:04 +0000 (01:43 -0700)] 
Merge pull request #1027 from recallfx/feature/LT-translation

Lithuanian translation

11 years agoMade isPM function compatible with IE8 Quirks Mode and IE7 Standards Mode 1033/head
Gabriel Hedges [Thu, 29 Aug 2013 00:22:57 +0000 (17:22 -0700)] 
Made isPM function compatible with IE8 Quirks Mode and IE7 Standards Mode

11 years agolinting 1019/head
bentaber [Mon, 26 Aug 2013 21:34:54 +0000 (15:34 -0600)] 
linting

11 years agoAdd additional .calendar() tests, relocate
bentaber [Mon, 26 Aug 2013 20:00:40 +0000 (14:00 -0600)] 
Add additional .calendar() tests, relocate

11 years agoMerge pull request #1020 from icambron/better-dst-fix
Tim Wood [Mon, 26 Aug 2013 18:48:27 +0000 (11:48 -0700)] 
Merge pull request #1020 from icambron/better-dst-fix

better fix for month parser issue

11 years agoLithuanian translation 1027/head
recallfx [Sun, 25 Aug 2013 19:44:02 +0000 (22:44 +0300)] 
Lithuanian translation

11 years agoUpdates to the norwegian bokmål translation 1022/head
Sigurd Gartmann [Fri, 23 Aug 2013 08:34:49 +0000 (10:34 +0200)] 
Updates to the norwegian bokmål translation

Use ordinals for day of months in localized dates
Use uncapitalized letters in future and present strings
Abbreviate weekdays as two letters and a dot
Abbreviate month names as three letters and a dot, but leave short month
names in full length.

11 years agoname change and a some more thoroughness
Isaac Cambron [Fri, 23 Aug 2013 00:15:38 +0000 (20:15 -0400)] 
name change and a some more thoroughness

11 years agoadded hasAlignedHours
Isaac Cambron [Mon, 19 Aug 2013 06:42:09 +0000 (02:42 -0400)] 
added hasAlignedHours

11 years agobetter fix for month parser issue 1020/head
Isaac Cambron [Thu, 22 Aug 2013 23:51:59 +0000 (19:51 -0400)] 
better fix for month parser issue

11 years agoMerge pull request #1013 from elivero/develop
Tim Wood [Thu, 22 Aug 2013 18:58:26 +0000 (11:58 -0700)] 
Merge pull request #1013 from elivero/develop

Croatian (hr) translation

11 years agousing built-in uglify comment preservation with \! 1012/head
Tim Wood [Thu, 22 Aug 2013 18:43:34 +0000 (11:43 -0700)] 
using built-in uglify comment preservation with \!

11 years agoRespect timezone settings for .calendar() format
bentaber [Thu, 22 Aug 2013 04:03:33 +0000 (22:03 -0600)] 
Respect timezone settings for .calendar() format

Fixes #946

11 years agoInitial lang test for Croatian. 1013/head
Bojan Markovic [Tue, 20 Aug 2013 09:04:31 +0000 (11:04 +0200)] 
Initial lang test for Croatian.

11 years agoAdded Croatian (hr) translation.
Bojan Markovic [Tue, 20 Aug 2013 07:09:37 +0000 (09:09 +0200)] 
Added Croatian (hr) translation.

11 years agoremoving warning readme from source lang files
Tim Wood [Mon, 19 Aug 2013 22:15:12 +0000 (15:15 -0700)] 
removing warning readme from source lang files

11 years agoadding UMD for lang files and removing minified versions
Tim Wood [Mon, 19 Aug 2013 21:59:54 +0000 (14:59 -0700)] 
adding UMD for lang files and removing minified versions

11 years agoline endings
Tim Wood [Mon, 19 Aug 2013 21:15:44 +0000 (14:15 -0700)] 
line endings

11 years agoMerge pull request #998 from TalAter/hebrew-dual-form-fixed
Tim Wood [Mon, 19 Aug 2013 18:48:31 +0000 (11:48 -0700)] 
Merge pull request #998 from TalAter/hebrew-dual-form-fixed

Hebrew dual form fixed

11 years agoMerge pull request #1007 from icambron/cloning-with-utc
Tim Wood [Mon, 19 Aug 2013 18:48:11 +0000 (11:48 -0700)] 
Merge pull request #1007 from icambron/cloning-with-utc

force moment.utc() to use utc

11 years agoMerge pull request #1011 from icambron/expand-localized-in-parser
Tim Wood [Mon, 19 Aug 2013 18:21:40 +0000 (11:21 -0700)] 
Merge pull request #1011 from icambron/expand-localized-in-parser

Expand localized tokens in the parser.

11 years agoMerge pull request #1010 from icambron/pacific-apia
Tim Wood [Mon, 19 Aug 2013 18:19:26 +0000 (11:19 -0700)] 
Merge pull request #1010 from icambron/pacific-apia

move test to avoid DST weirdness in Samoa

11 years agoMerge pull request #1008 from icambron/half-hour-offsets
Tim Wood [Mon, 19 Aug 2013 17:44:12 +0000 (10:44 -0700)] 
Merge pull request #1008 from icambron/half-hour-offsets

fixing zone test for half hour offsets

11 years agoMerge pull request #1006 from icambron/simpler-month-parse
Tim Wood [Mon, 19 Aug 2013 17:34:08 +0000 (10:34 -0700)] 
Merge pull request #1006 from icambron/simpler-month-parse

use the second day of each month to find the month name

11 years agoMerge pull request #1003 from floydpink/feature/malayalam-language
Tim Wood [Mon, 19 Aug 2013 16:21:32 +0000 (09:21 -0700)] 
Merge pull request #1003 from floydpink/feature/malayalam-language

Malayalam language

11 years agoMerge pull request #1002 from Oire/feature/ukr-short-months
Tim Wood [Mon, 19 Aug 2013 16:19:52 +0000 (09:19 -0700)] 
Merge pull request #1002 from Oire/feature/ukr-short-months

Corrected short months and weekdays in Ukrainian; fixes #1001

11 years agoMerge pull request #995 from kalehv/develop
Tim Wood [Mon, 19 Aug 2013 16:16:06 +0000 (09:16 -0700)] 
Merge pull request #995 from kalehv/develop

Add Marathi language support

11 years agoExpand localized tokens in the parser. Fixes #665. 1011/head
Isaac Cambron [Mon, 19 Aug 2013 08:19:42 +0000 (04:19 -0400)] 
Expand localized tokens in the parser. Fixes #665.

11 years agomove test to avoid pacific-apia DST weirdness 1010/head
Isaac Cambron [Mon, 19 Aug 2013 07:12:25 +0000 (20:12 +1300)] 
move test to avoid pacific-apia DST weirdness

11 years agofixing zone test for half hour offsets 1008/head
Isaac Cambron [Mon, 19 Aug 2013 06:43:39 +0000 (02:13 -0430)] 
fixing zone test for half hour offsets

11 years agoforce moment.utc() to use utc 1007/head
Isaac Cambron [Mon, 19 Aug 2013 05:50:10 +0000 (01:50 -0400)] 
force moment.utc() to use utc

11 years agouse the second day of each month to find the month name 1006/head
Isaac Cambron [Mon, 19 Aug 2013 03:10:05 +0000 (06:10 +0300)] 
use the second day of each month to find the month name

11 years agodeault dow and doy are just fine 1003/head
Floyd Pink [Thu, 15 Aug 2013 17:27:33 +0000 (17:27 +0000)] 
deault dow and doy are just fine

11 years agoedited out a few unsafe characters
Floyd Pink [Thu, 15 Aug 2013 16:14:48 +0000 (16:14 +0000)] 
edited out a few unsafe characters

11 years agoadded some tests as well modeled off of hi.js
Floyd Pink [Thu, 15 Aug 2013 15:06:32 +0000 (15:06 +0000)] 
added some tests as well modeled off of hi.js

11 years agoCorrected short months and weekdays in Ukrainian; fixes #1001 1002/head
Oire [Thu, 15 Aug 2013 13:50:43 +0000 (16:50 +0300)] 
Corrected short months and weekdays in Ukrainian; fixes #1001

11 years agoAdded spaces around plus sign, to satisfy jshint. 998/head
Tal Ater [Wed, 14 Aug 2013 23:05:14 +0000 (02:05 +0300)] 
Added spaces around plus sign, to satisfy jshint.

11 years agoAdded author line.
Tal Ater [Wed, 14 Aug 2013 23:03:14 +0000 (02:03 +0300)] 
Added author line.

11 years agoAdded Hebrew dual form for hours, days, months and years
Tal Ater [Wed, 14 Aug 2013 22:47:34 +0000 (01:47 +0300)] 
Added Hebrew dual form for hours, days, months and years

11 years agoadded ml.js
Floyd Pink [Wed, 14 Aug 2013 20:22:22 +0000 (20:22 +0000)] 
added ml.js

11 years agomatch months short names 995/head
Harshad Kale [Tue, 13 Aug 2013 18:59:53 +0000 (13:59 -0500)] 
match months short names

11 years agomonths names
Harshad Kale [Tue, 13 Aug 2013 18:57:05 +0000 (13:57 -0500)] 
months names

11 years agoa few word changes
Harshad Kale [Tue, 13 Aug 2013 18:52:07 +0000 (13:52 -0500)] 
a few word changes

11 years agoAdd Marathi
Harshad Kale [Tue, 13 Aug 2013 18:36:50 +0000 (13:36 -0500)] 
Add Marathi

12 years agoMerge pull request #985 from ichernev/feature/normalize-lang-codes
Tim Wood [Mon, 12 Aug 2013 17:52:00 +0000 (10:52 -0700)] 
Merge pull request #985 from ichernev/feature/normalize-lang-codes

Normalize language identifiers as described in #963

12 years agoNormalize language identifiers as described in #963 985/head
Iskren Chernev [Fri, 9 Aug 2013 09:02:36 +0000 (02:02 -0700)] 
Normalize language identifiers as described in #963

12 years agoMerge pull request #982 from ichernev/fix-prototype-constructor
Tim Wood [Thu, 8 Aug 2013 19:04:34 +0000 (12:04 -0700)] 
Merge pull request #982 from ichernev/fix-prototype-constructor

Moment, Duration and Language objects now have constructor property

12 years agoMerge pull request #983 from ichernev/improved-grunt-zones
Tim Wood [Thu, 8 Aug 2013 18:42:28 +0000 (11:42 -0700)] 
Merge pull request #983 from ichernev/improved-grunt-zones

grunt zones with TZ and zone.tab

12 years agoFixed a few comments 983/head
Iskren Chernev [Wed, 7 Aug 2013 08:22:37 +0000 (01:22 -0700)] 
Fixed a few comments

12 years agogrunt zones with TZ and zone.tab
Iskren Chernev [Wed, 7 Aug 2013 08:20:04 +0000 (01:20 -0700)] 
grunt zones with TZ and zone.tab

12 years agoMerge pull request #966 from mechuwind/patch-1
Iskren Ivov Chernev [Wed, 7 Aug 2013 06:49:50 +0000 (23:49 -0700)] 
Merge pull request #966 from mechuwind/patch-1

Change the Norwegian nynorsk language configuration to follow the most common date format

12 years agoMerge pull request #978 from icambron/extraneous-s
Iskren Ivov Chernev [Wed, 7 Aug 2013 06:32:58 +0000 (23:32 -0700)] 
Merge pull request #978 from icambron/extraneous-s

removing extra s in get() and set()

12 years agoMerge pull request #979 from chall8908/develop
Iskren Ivov Chernev [Wed, 7 Aug 2013 06:32:01 +0000 (23:32 -0700)] 
Merge pull request #979 from chall8908/develop

Fix for strange Duration behavior when using strings for values

12 years agoMoment, Duration and Language objects now have constructor property 982/head
Iskren Chernev [Wed, 7 Aug 2013 06:27:10 +0000 (23:27 -0700)] 
Moment, Duration and Language objects now have constructor property

12 years agoSplit string value tests into their own test 979/head
Chris Hall [Tue, 6 Aug 2013 23:02:50 +0000 (18:02 -0500)] 
Split string value tests into their own test

12 years agoAdded unary + operator to ms, days, and months in Duration constructor
Chris Hall [Tue, 6 Aug 2013 17:52:54 +0000 (12:52 -0500)] 
Added unary + operator to ms, days, and months in Duration constructor
when building internal representations
Added tests that check against string initialization of Duration
parameters
Closes #968

12 years agoremoving extra s in get() and set() 978/head
Isaac Cambron [Tue, 6 Aug 2013 07:32:59 +0000 (03:32 -0400)] 
removing extra s in get() and set()

12 years agoMerge pull request #971 from ichernev/bugfix/global-regexp-test
Iskren Ivov Chernev [Mon, 5 Aug 2013 06:46:18 +0000 (23:46 -0700)] 
Merge pull request #971 from ichernev/bugfix/global-regexp-test

Fixed local formatting tokens detection

Apparently global regexes remember the last matched position after `test`. Reset that that before each test.

12 years agoRemoved exetuable bit on lang/fa.js
Iskren Chernev [Fri, 2 Aug 2013 07:06:58 +0000 (00:06 -0700)] 
Removed exetuable bit on lang/fa.js

12 years agoFixed local formatting tokens detection 971/head
Iskren Chernev [Thu, 1 Aug 2013 07:33:33 +0000 (00:33 -0700)] 
Fixed local formatting tokens detection

According to the docs:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/test
issuing regex.test on the same regex that is also g (global), would cause it to
remember the last match position and continue from there. Set lastIndex to
0 before every test to make sure this won't happen.

12 years agoUpdate nn.js 966/head
mechuwind [Tue, 30 Jul 2013 12:49:22 +0000 (14:49 +0200)] 
Update nn.js

Update test for nn

12 years agoUpdate nn.js
mechuwind [Tue, 30 Jul 2013 12:44:07 +0000 (14:44 +0200)] 
Update nn.js

Change the long date format, so that it follows the most common Norwegian system for dates (DD.MM.YYYY). Ref. http://en.wikipedia.org/wiki/Date_and_time_notation_in_Norway.

12 years agoMerge pull request #950 from mroderick/hotfix/2.1.0-add-bower.json
Iskren Ivov Chernev [Tue, 30 Jul 2013 05:04:47 +0000 (22:04 -0700)] 
Merge pull request #950 from mroderick/hotfix/2.1.0-add-bower.json

Add bower.json

12 years agoMerge pull request #951 from ichernev/bugfix/argentina-dst-failing-test
Tim Wood [Mon, 29 Jul 2013 16:19:25 +0000 (09:19 -0700)] 
Merge pull request #951 from ichernev/bugfix/argentina-dst-failing-test

Fix broken lang tests in Argentina

12 years agoMerge pull request #912 from ichernev/feature/create-defaults-to-current-date
Iskren Ivov Chernev [Sat, 27 Jul 2013 07:30:23 +0000 (00:30 -0700)] 
Merge pull request #912 from ichernev/feature/create-defaults-to-current-date

Moment creation defaults to current date

12 years agoMerge pull request #949 from tkallevik/patch-1
Iskren Ivov Chernev [Sat, 27 Jul 2013 07:06:44 +0000 (00:06 -0700)] 
Merge pull request #949 from tkallevik/patch-1

Change the Norwegian language configuration to follow the most common date format

12 years agoMerge pull request #915 from ichernev/features/invalid-at
Iskren Ivov Chernev [Sat, 27 Jul 2013 06:57:32 +0000 (23:57 -0700)] 
Merge pull request #915 from ichernev/features/invalid-at

Added invalidAt function to get invalid unit index

12 years agoFixed the unit test for the Norwegian language configuration 949/head
Thomas Kallevik [Fri, 26 Jul 2013 08:04:49 +0000 (10:04 +0200)] 
Fixed the unit test for the Norwegian language configuration

12 years agoFix broken lang tests in Argentina 951/head
Iskren Chernev [Thu, 25 Jul 2013 05:03:50 +0000 (02:03 -0300)] 
Fix broken lang tests in Argentina

This was reported in #816.
It happens because there is DST in Argentina on 30 Dec 2007.

12 years agoAdd bower.json 950/head
Morgan Roderick [Wed, 24 Jul 2013 14:36:12 +0000 (16:36 +0200)] 
Add bower.json

Eventually Bower is likely to become incompatible with the component.json format, and the warnings will turn to errors when installing with Bower.