]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
12 years agoFixed some warnings uglifyjs gave when compressing. 841/head
Axel Rasmussen [Thu, 13 Jun 2013 18:04:20 +0000 (12:04 -0600)] 
Fixed some warnings uglifyjs gave when compressing.

12 years agoless likely to hang test runner #747
Tim Wood [Mon, 10 Jun 2013 21:57:43 +0000 (17:57 -0400)] 
less likely to hang test runner #747

12 years agousing days in month instead of hardcoded year lengths #747
Tim Wood [Mon, 10 Jun 2013 16:56:13 +0000 (13:56 -0300)] 
using days in month instead of hardcoded year lengths #747

12 years agoMerge pull request #747 from ichernev/features/diff-across-dst
Tim Wood [Mon, 10 Jun 2013 16:50:19 +0000 (09:50 -0700)] 
Merge pull request #747 from ichernev/features/diff-across-dst

Ignore DST for day, week, month and year diffs

12 years agoMerge pull request #834 from JensRantil/swedish-lang-remove-klockan
Tim Wood [Fri, 7 Jun 2013 16:45:24 +0000 (09:45 -0700)] 
Merge pull request #834 from JensRantil/swedish-lang-remove-klockan

Remove "Klockan" in `moment.calendar()`

12 years agoRemove "Klockan" in `moment.calendar()` 834/head
Jens Rantil [Fri, 7 Jun 2013 13:20:29 +0000 (15:20 +0200)] 
Remove "Klockan" in `moment.calendar()`

 * "Klockan" is kinda superflous.
 * This makes the Swedish translation more similar to English.

12 years agoMerge pull request #734 from chbrown/develop
Iskren Ivov Chernev [Wed, 5 Jun 2013 09:20:10 +0000 (02:20 -0700)] 
Merge pull request #734 from chbrown/develop

Add duration.add and subtract method

12 years ago#788 add tests for year first array
Tim Wood [Mon, 3 Jun 2013 18:39:15 +0000 (11:39 -0700)] 
#788 add tests for year first array

12 years agoadd a penalty to formats that do not parse the entire input #818
Tim Wood [Mon, 3 Jun 2013 18:14:41 +0000 (11:14 -0700)] 
add a penalty to formats that do not parse the entire input #818

12 years agomaking auto iso8601 ignore 'T' if it is not in the input string #804
Tim Wood [Mon, 3 Jun 2013 17:52:32 +0000 (10:52 -0700)] 
making auto iso8601 ignore 'T' if it is not in the input string #804

12 years agoMaking toJSON an alias of toISOString rather than the other way around #806
Tim Wood [Mon, 3 Jun 2013 17:29:38 +0000 (10:29 -0700)] 
Making toJSON an alias of toISOString rather than the other way around #806

12 years agoMerge pull request #806 from kevinmarx/isoHelperMethod
Tim Wood [Mon, 3 Jun 2013 17:28:02 +0000 (10:28 -0700)] 
Merge pull request #806 from kevinmarx/isoHelperMethod

toISOString helper method.

12 years agoMerge pull request #800 from timrwood/feature/minmax
Tim Wood [Mon, 3 Jun 2013 17:26:46 +0000 (10:26 -0700)] 
Merge pull request #800 from timrwood/feature/minmax

Adding moment#min and moment#max #755

12 years agoRemoving 'now' option on min/max 800/head
Tim Wood [Mon, 3 Jun 2013 17:21:27 +0000 (10:21 -0700)] 
Removing 'now' option on min/max

12 years agoMerge pull request #752 from ichernev/bugfix/gl-lang
Tim Wood [Mon, 3 Jun 2013 17:18:58 +0000 (10:18 -0700)] 
Merge pull request #752 from ichernev/bugfix/gl-lang

Bugfix/gl lang

12 years agoMerge pull request #803 from Oire/develop
Tim Wood [Mon, 3 Jun 2013 16:43:46 +0000 (09:43 -0700)] 
Merge pull request #803 from Oire/develop

More fixes to Ukrainian: literary standard fix plus special case for 11 hours processing

12 years agoAdd tests for duration.add and .remove 734/head
Christopher Brown [Sat, 1 Jun 2013 13:31:10 +0000 (08:31 -0500)] 
Add tests for duration.add and .remove

12 years agoAnd this does work indeed, thanks to guru @ichernev 803/head
Oire [Sat, 1 Jun 2013 12:03:21 +0000 (15:03 +0300)] 
And this does work indeed, thanks to guru @ichernev

12 years agoAdd duration.add() and duration.subtract() methods.
Christopher Brown [Fri, 31 May 2013 21:21:55 +0000 (16:21 -0500)] 
Add duration.add() and duration.subtract() methods.

12 years agoThe only solution I can propose with processHours function
Oire [Fri, 31 May 2013 11:20:23 +0000 (14:20 +0300)] 
The only solution I can propose with processHours function

12 years agoaliasing the toISOString method to the toJSON method 806/head
Kevin Marx [Thu, 30 May 2013 12:24:07 +0000 (07:24 -0500)] 
aliasing the toISOString method to the toJSON method

12 years agoMerge pull request #791 from timrwood/feature/ampm
Tim Wood [Wed, 29 May 2013 00:29:26 +0000 (17:29 -0700)] 
Merge pull request #791 from timrwood/feature/ampm

Supporting A.M. and P.M. and moving isPM check to Language

12 years agofixed missing space after function
Kevin Marx [Mon, 27 May 2013 19:03:53 +0000 (14:03 -0500)] 
fixed missing space after function

12 years agoadded in a toISOString helper method to match the javascript date object's toISOStrin...
Kevin Marx [Mon, 27 May 2013 18:45:49 +0000 (13:45 -0500)] 
added in a toISOString helper method to match the javascript date object's toISOString method

12 years agoFixed diff across tz tests to work for all timezones 747/head
Iskren Chernev [Thu, 23 May 2013 06:45:51 +0000 (23:45 -0700)] 
Fixed diff across tz tests to work for all timezones

12 years agoMore fixes to Ukrainian: literary standard fix plus special case for 11 hours processing
Oire [Fri, 24 May 2013 23:09:31 +0000 (02:09 +0300)] 
More fixes to Ukrainian: literary standard fix plus special case for 11 hours processing

12 years agoAdding moment#min and moment#max #755
Tim Wood [Thu, 23 May 2013 19:17:24 +0000 (12:17 -0700)] 
Adding moment#min and moment#max #755

12 years agoMoving parse regex to language as well as isPM 791/head
Tim Wood [Thu, 23 May 2013 16:18:18 +0000 (09:18 -0700)] 
Moving parse regex to language as well as isPM

12 years agoMerge branch 'develop' into feature/ampm
Tim Wood [Thu, 23 May 2013 16:08:14 +0000 (09:08 -0700)] 
Merge branch 'develop' into feature/ampm

* develop: (21 commits)
  Fixing tests for #780
  More tests for #788
  Using first valid format when parsing multiple formats - #653 #788
  Updating tests for #788
  fixing jshint error
  Use brackets to escape characters
  Add composer.json
  fix test and some translations
  Update it.js
  Fix escaping
  Update br.js
  Fixing indentation
  Fixing indentation
  Fixing indentation
  Added mutations for years
  And more
  Update header
  More tests, more translations
  Updating header (comments)
  Updating months
  ...

12 years agoIgnore DST for day, week, month and year diffs
Iskren Chernev [Thu, 25 Apr 2013 07:51:10 +0000 (00:51 -0700)] 
Ignore DST for day, week, month and year diffs

12 years agoMerge pull request #795 from gdibble/patch-1
Iskren Ivov Chernev [Thu, 23 May 2013 05:18:19 +0000 (22:18 -0700)] 
Merge pull request #795 from gdibble/patch-1

UK officially uses 24H, not 12H in written form.

12 years agoMerge pull request #1 from gdibble/develop 795/head
Gabriel Dibble [Thu, 23 May 2013 04:03:29 +0000 (21:03 -0700)] 
Merge pull request #1 from gdibble/develop

test updates for en-GB time formatting

12 years agotest updates for en-GB time formatting 797/head
Gabriel Dibble [Thu, 23 May 2013 03:58:52 +0000 (21:58 -0600)] 
test updates for en-GB time formatting

ex. 2:00 AM >>> 02:00

12 years agoMerge pull request #777 from timrwood/feature/zone-name
Tim Wood [Thu, 23 May 2013 00:20:25 +0000 (17:20 -0700)] 
Merge pull request #777 from timrwood/feature/zone-name

Adding hooks for external libs to supply timezone name and timezone abbreviations

12 years agoUK time format fix
Gabriel Dibble [Wed, 22 May 2013 01:23:00 +0000 (19:23 -0600)] 
UK time format fix

GB uses 24H format

12 years agoFixing tests for #780
Tim Wood [Mon, 20 May 2013 17:57:44 +0000 (10:57 -0700)] 
Fixing tests for #780

12 years agoMerge pull request #780 from balazsmeszegeto/patch-1
Tim Wood [Mon, 20 May 2013 17:56:26 +0000 (10:56 -0700)] 
Merge pull request #780 from balazsmeszegeto/patch-1

Fix escaping

12 years agoMore tests for #788
Tim Wood [Mon, 20 May 2013 16:38:37 +0000 (09:38 -0700)] 
More tests for #788

12 years agoUsing first valid format when parsing multiple formats - #653 #788
Tim Wood [Mon, 20 May 2013 16:31:26 +0000 (09:31 -0700)] 
Using first valid format when parsing multiple formats - #653 #788

12 years agoUpdating tests for #788
Tim Wood [Mon, 20 May 2013 16:17:48 +0000 (09:17 -0700)] 
Updating tests for #788

12 years agoMerge branch 'develop' of github.com:timrwood/moment into develop
Tim Wood [Mon, 20 May 2013 16:13:59 +0000 (09:13 -0700)] 
Merge branch 'develop' of github.com:timrwood/moment into develop

* 'develop' of github.com:timrwood/moment: (53 commits)
  Use brackets to escape characters
  Add composer.json
  fix test and some translations
  Update it.js
  Update br.js
  Fixing indentation
  Fixing indentation
  Fixing indentation
  making startOf('week') use locale week start #727 #634 #699
  adding isDST teste
  fixing zone getter and setter test
  Updated minified files
  Added mutations for years
  Format function now uses "instanceof" on a var rather than "typeof" on that var's call to determine if the variable is a function. This fixes an incompatibility with ClojureScript, which defines String.prototype.call as a function.
  Corrected Ukrainian and optimized Russian
  toJSON should not call lang.postformat
  set hook to add ordinal for Chinese(cn && tw) with modifing the tests
  Update nn.js
  Update nn.js
  Better tests for (iso)weekYear and (iso)weekday and formatting
  ...

12 years agofixing jshint error
Tim Wood [Mon, 20 May 2013 16:13:46 +0000 (09:13 -0700)] 
fixing jshint error

12 years agoMoving isPM check to the language object so it can be overwritten by different languages
Tim Wood [Mon, 20 May 2013 15:18:15 +0000 (08:18 -0700)] 
Moving isPM check to the language object so it can be overwritten by different languages

12 years agoMerge pull request #781 from nostalgiaz/patch-1
Tim Wood [Mon, 20 May 2013 15:12:02 +0000 (08:12 -0700)] 
Merge pull request #781 from nostalgiaz/patch-1

Update it.js

12 years agoMerge pull request #784 from reecefowell/develop
Iskren Ivov Chernev [Fri, 17 May 2013 07:54:55 +0000 (00:54 -0700)] 
Merge pull request #784 from reecefowell/develop

Add composer.json

12 years agoMerge pull request #767 from jbleduigou/develop
Tim Wood [Fri, 17 May 2013 04:56:47 +0000 (21:56 -0700)] 
Merge pull request #767 from jbleduigou/develop

Added support for breton language

12 years agoUse brackets to escape characters 767/head
Jean-Baptiste Le Duigou [Thu, 16 May 2013 08:01:21 +0000 (10:01 +0200)] 
Use brackets to escape characters

12 years agoAdd composer.json 784/head
Reece Fowell [Wed, 15 May 2013 12:46:28 +0000 (13:46 +0100)] 
Add composer.json

12 years agofix test and some translations 781/head
Mattia Larentis [Tue, 14 May 2013 17:06:05 +0000 (19:06 +0200)] 
fix test and some translations

12 years agoUpdate it.js
Mattia Larentis [Tue, 14 May 2013 16:21:56 +0000 (18:21 +0200)] 
Update it.js

changed "relativeTime.future" from "in" to "tra"

12 years agoFix escaping 780/head
balazsmeszegeto [Tue, 14 May 2013 11:34:31 +0000 (13:34 +0200)] 
Fix escaping

12 years agoUpdate br.js
Jean-Baptiste Le Duigou [Tue, 14 May 2013 07:57:32 +0000 (09:57 +0200)] 
Update br.js

Fixing broken test by escaping character

12 years agoMerge branch 'feature/breton'
jbleduigou [Mon, 13 May 2013 10:38:34 +0000 (12:38 +0200)] 
Merge branch 'feature/breton'

12 years agoFixing indentation
jbleduigou [Mon, 13 May 2013 10:36:11 +0000 (12:36 +0200)] 
Fixing indentation

12 years agoFixing indentation
jbleduigou [Mon, 13 May 2013 10:35:25 +0000 (12:35 +0200)] 
Fixing indentation

12 years agoFixing indentation
jbleduigou [Mon, 13 May 2013 10:28:30 +0000 (12:28 +0200)] 
Fixing indentation

12 years agoAdding hooks for external libs to supply timezone name and timezone abbreviations 777/head
Tim Wood [Sat, 11 May 2013 21:08:42 +0000 (11:08 -1000)] 
Adding hooks for external libs to supply timezone name and timezone abbreviations

12 years agomaking startOf('week') use locale week start #727 #634 #699
Tim Wood [Sat, 11 May 2013 20:00:01 +0000 (10:00 -1000)] 
making startOf('week') use locale week start #727 #634 #699

12 years agoMerge pull request #671 from timrwood/feature/zone-setter
Tim Wood [Sat, 11 May 2013 18:08:27 +0000 (11:08 -0700)] 
Merge pull request #671 from timrwood/feature/zone-setter

Making moment#zone a setter

12 years agoadding isDST teste 671/head
Tim Wood [Sat, 11 May 2013 17:39:36 +0000 (19:39 +0200)] 
adding isDST teste

12 years agofixing zone getter and setter test
Tim Wood [Sat, 11 May 2013 16:59:37 +0000 (18:59 +0200)] 
fixing zone getter and setter test

12 years agomerging develop into feature/zone-setter
Tim Wood [Sat, 11 May 2013 16:49:28 +0000 (09:49 -0700)] 
merging develop into feature/zone-setter

12 years agoMerge pull request #770 from Oire/develop
Iskren Ivov Chernev [Fri, 10 May 2013 07:45:22 +0000 (00:45 -0700)] 
Merge pull request #770 from Oire/develop

Updated minified lang files

12 years agoMerge pull request #766 from gensym/develop
Iskren Ivov Chernev [Thu, 9 May 2013 06:38:33 +0000 (23:38 -0700)] 
Merge pull request #766 from gensym/develop

Format function now uses "instanceof" on a var rather than "typeof" on t...

12 years agoUpdated minified files 770/head
Oire [Wed, 8 May 2013 14:27:49 +0000 (17:27 +0300)] 
Updated minified files

12 years agoAdded mutations for years
jbleduigou [Tue, 7 May 2013 08:49:06 +0000 (10:49 +0200)] 
Added mutations for years

12 years agoFormat function now uses "instanceof" on a var rather than "typeof" on that var's... 766/head
gensym [Sun, 5 May 2013 04:17:20 +0000 (23:17 -0500)] 
Format function now uses "instanceof" on a var rather than "typeof" on that var's call to determine if the variable is a function.
This fixes an incompatibility with ClojureScript, which defines String.prototype.call as a function.

12 years agoMerge pull request #753 from Oire/develop
Iskren Ivov Chernev [Mon, 29 Apr 2013 19:01:32 +0000 (12:01 -0700)] 
Merge pull request #753 from Oire/develop

Corrected Ukrainian and optimized Russian

12 years agoMerge pull request #751 from ichernev/bugfix/tojson-skip-postformat
Tim Wood [Mon, 29 Apr 2013 17:56:45 +0000 (10:56 -0700)] 
Merge pull request #751 from ichernev/bugfix/tojson-skip-postformat

toJSON should not call lang.postformat

12 years agoCorrected Ukrainian and optimized Russian 753/head
Oire [Sun, 28 Apr 2013 12:44:51 +0000 (15:44 +0300)] 
Corrected Ukrainian and optimized Russian

12 years agoKeep jshint happy 752/head
Iskren Chernev [Sat, 27 Apr 2013 07:35:23 +0000 (00:35 -0700)] 
Keep jshint happy

12 years agoFix lang/gl.js so tests pass
Iskren Chernev [Sat, 27 Apr 2013 07:31:16 +0000 (00:31 -0700)] 
Fix lang/gl.js so tests pass

12 years agoMerge remote-tracking branches 'DaAira/develop' and 'DaAira/patch-1' into bugfix...
Iskren Chernev [Sat, 27 Apr 2013 07:14:55 +0000 (00:14 -0700)] 
Merge remote-tracking branches 'DaAira/develop' and 'DaAira/patch-1' into bugfix/gl-lang

12 years agotoJSON should not call lang.postformat 751/head
Iskren Chernev [Sat, 27 Apr 2013 07:02:41 +0000 (00:02 -0700)] 
toJSON should not call lang.postformat

12 years agoMerge pull request #748 from mechuwind/develop
Iskren Ivov Chernev [Sat, 27 Apr 2013 06:45:54 +0000 (23:45 -0700)] 
Merge pull request #748 from mechuwind/develop

Added Norwegian nynorsk localization

12 years agoMerge pull request #750 from jiyinyiyong/develop
Iskren Ivov Chernev [Sat, 27 Apr 2013 06:41:35 +0000 (23:41 -0700)] 
Merge pull request #750 from jiyinyiyong/develop

set hook to add ordinal for Chinese(cn && tw) with modifing the tests

12 years agoset hook to add ordinal for Chinese(cn && tw) with modifing the tests 750/head
jiyinyiyong [Sat, 27 Apr 2013 03:44:44 +0000 (11:44 +0800)] 
set hook to add ordinal for Chinese(cn && tw) with modifing the tests

12 years agoUpdate nn.js 748/head
mechuwind [Fri, 26 Apr 2013 07:56:26 +0000 (10:56 +0300)] 
Update nn.js

12 years agoUpdate nn.js
mechuwind [Fri, 26 Apr 2013 07:54:56 +0000 (10:54 +0300)] 
Update nn.js

12 years agoMerge pull request #699 from ichernev/features/iso-year
Iskren Ivov Chernev [Fri, 26 Apr 2013 07:52:41 +0000 (00:52 -0700)] 
Merge pull request #699 from ichernev/features/iso-year

Added isoYear, isoWeekday and weekday and format tokens gggg, GGGG, e, E

12 years agoBetter tests for (iso)weekYear and (iso)weekday and formatting 699/head
Iskren Chernev [Fri, 26 Apr 2013 07:48:24 +0000 (00:48 -0700)] 
Better tests for (iso)weekYear and (iso)weekday and formatting

12 years agoUpdate nn.js
mechuwind [Thu, 25 Apr 2013 09:15:59 +0000 (12:15 +0300)] 
Update nn.js

12 years agoUpdate nn.js
mechuwind [Thu, 25 Apr 2013 09:14:09 +0000 (12:14 +0300)] 
Update nn.js

12 years agoUpdate nn.js
mechuwind [Thu, 25 Apr 2013 09:10:22 +0000 (12:10 +0300)] 
Update nn.js

12 years agoCreate nn.js 746/head
mechuwind [Thu, 25 Apr 2013 07:24:33 +0000 (10:24 +0300)] 
Create nn.js

Norwegian nynorsk

12 years agoCreate nn.js
mechuwind [Thu, 25 Apr 2013 07:24:03 +0000 (10:24 +0300)] 
Create nn.js

Norwegian nynorsk

12 years agoFixed test/lang to take into account e/E format token
Iskren Chernev [Wed, 24 Apr 2013 09:54:34 +0000 (02:54 -0700)] 
Fixed test/lang to take into account e/E format token

12 years agoAdded tests for the (iso)weekday functions
Iskren Chernev [Wed, 24 Apr 2013 08:48:37 +0000 (01:48 -0700)] 
Added tests for the (iso)weekday functions

12 years agoFixed jshint issues in moment.js
Iskren Chernev [Wed, 24 Apr 2013 08:48:09 +0000 (01:48 -0700)] 
Fixed jshint issues in moment.js

12 years agoAdded weekday and isoWeekday with format tokens e/E
Iskren Chernev [Mon, 22 Apr 2013 09:35:50 +0000 (02:35 -0700)] 
Added weekday and isoWeekday with format tokens e/E

12 years agoAdded weekYear with format gg/gggg/ggggg
Iskren Chernev [Mon, 22 Apr 2013 09:23:07 +0000 (02:23 -0700)] 
Added weekYear with format gg/gggg/ggggg

12 years agoAdded iso year formatting tests
Iskren Chernev [Mon, 22 Apr 2013 09:05:27 +0000 (02:05 -0700)] 
Added iso year formatting tests

12 years agoAdded tests for isoWeekYear
Iskren Chernev [Mon, 22 Apr 2013 08:55:28 +0000 (01:55 -0700)] 
Added tests for isoWeekYear

12 years agoChanged isoYear to isoWeekYear
Iskren Chernev [Mon, 22 Apr 2013 08:36:50 +0000 (01:36 -0700)] 
Changed isoYear to isoWeekYear

12 years agoAdded moment.fn.isoYear and format tokens
Iskren Chernev [Sat, 30 Mar 2013 05:02:30 +0000 (22:02 -0700)] 
Added moment.fn.isoYear and format tokens

12 years agoAnd more
jbleduigou [Wed, 24 Apr 2013 08:28:35 +0000 (10:28 +0200)] 
And more

12 years agoUpdate header
jbleduigou [Wed, 24 Apr 2013 08:00:42 +0000 (10:00 +0200)] 
Update header

12 years agoMore tests, more translations
jbleduigou [Wed, 24 Apr 2013 08:00:14 +0000 (10:00 +0200)] 
More tests, more translations

12 years agoMerge pull request #730 from MasseGuillaume/develop
Iskren Ivov Chernev [Wed, 24 Apr 2013 06:31:14 +0000 (23:31 -0700)] 
Merge pull request #730 from MasseGuillaume/develop

ordinals in french are only for the first day of the month

12 years agoUpdating header (comments)
jbleduigou [Tue, 23 Apr 2013 15:44:40 +0000 (17:44 +0200)] 
Updating header (comments)