]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
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 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 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 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 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 agoordinals in french are only for the first day of the month 730/head
Guillaume Masse [Mon, 15 Apr 2013 22:37:04 +0000 (18:37 -0400)] 
ordinals in french are only for the first day of the month

12 years agoMerge pull request #714 from icambron/simplified-units
Tim Wood [Mon, 8 Apr 2013 16:26:02 +0000 (09:26 -0700)] 
Merge pull request #714 from icambron/simplified-units

Simplified units

12 years agoMerge pull request #715 from anthonyshort/patch-1
Iskren Ivov Chernev [Mon, 8 Apr 2013 08:50:34 +0000 (01:50 -0700)] 
Merge pull request #715 from anthonyshort/patch-1

Added Component [1] support

[1] https://github.com/component/component

12 years agoterser normalizeUnits 714/head
Isaac Cambron [Mon, 8 Apr 2013 04:49:57 +0000 (00:49 -0400)] 
terser normalizeUnits

12 years agounit normalization for diff()
Isaac Cambron [Mon, 8 Apr 2013 03:48:48 +0000 (23:48 -0400)] 
unit normalization for diff()

12 years agoAdded Component(1) support 715/head
Anthony Short [Sun, 7 Apr 2013 07:09:36 +0000 (17:09 +1000)] 
Added Component(1) support

By adding a component.json file we can add Moment as a dependency in Component

12 years agocleaning up pull request
Isaac Cambron [Sun, 7 Apr 2013 03:51:48 +0000 (23:51 -0400)] 
cleaning up pull request

12 years agopreferring single quotes
Isaac Cambron [Sun, 7 Apr 2013 03:49:37 +0000 (23:49 -0400)] 
preferring single quotes

12 years agoreverting whitespace change
Isaac Cambron [Sun, 7 Apr 2013 03:48:07 +0000 (23:48 -0400)] 
reverting whitespace change

12 years agointernal normalization of unit strings
Isaac Cambron [Sun, 7 Apr 2013 03:42:03 +0000 (23:42 -0400)] 
internal normalization of unit strings

12 years agoMerge pull request #712 from ichernev/bugfix/fixed-arabic-months
Iskren Ivov Chernev [Sat, 6 Apr 2013 06:53:09 +0000 (23:53 -0700)] 
Merge pull request #712 from ichernev/bugfix/fixed-arabic-months

Bugfix/fixed arabic months

12 years agoRemoved commented code 712/head
Iskren Chernev [Sat, 6 Apr 2013 06:44:24 +0000 (23:44 -0700)] 
Removed commented code

12 years agoAdded support for three word arabic months
Iskren Chernev [Tue, 2 Apr 2013 07:18:20 +0000 (00:18 -0700)] 
Added support for three word arabic months

12 years agoUpdate ar.js
mar-chi-pan [Wed, 20 Mar 2013 19:39:09 +0000 (19:39 +0000)] 
Update ar.js

More detail in parse message for ar testing

12 years agoUpdate ar.js
mar-chi-pan [Wed, 20 Mar 2013 19:17:10 +0000 (19:17 +0000)] 
Update ar.js

Attempt to update 'format week' for ar tests

12 years agoUpdate ar.js
mar-chi-pan [Wed, 20 Mar 2013 19:10:26 +0000 (19:10 +0000)] 
Update ar.js

Attempt to update 'format month' in tests for ar

12 years agoUpdate ar.js
mar-chi-pan [Wed, 20 Mar 2013 19:05:23 +0000 (19:05 +0000)] 
Update ar.js

Update ll of 'format' in tests

12 years agoPartially update ar tests 'format'
mar [Wed, 20 Mar 2013 18:59:11 +0000 (18:59 +0000)] 
Partially update ar tests 'format'

12 years agoUpdate ar.js
mar-chi-pan [Tue, 5 Mar 2013 12:42:39 +0000 (12:42 +0000)] 
Update ar.js

Two versions in months together and changes in weekdays,
so that the translation is more general.

12 years agoMerge pull request #709 from k2s/develop
Iskren Ivov Chernev [Sat, 6 Apr 2013 06:38:58 +0000 (23:38 -0700)] 
Merge pull request #709 from k2s/develop

added slovak language

12 years agoMerge pull request #707 from icambron/durations-as-anything
Iskren Ivov Chernev [Sat, 6 Apr 2013 06:35:27 +0000 (23:35 -0700)] 
Merge pull request #707 from icambron/durations-as-anything

fix as() tests

12 years agoadded slovak language 709/head
Martin Minka [Thu, 4 Apr 2013 00:10:52 +0000 (02:10 +0200)] 
added slovak language

12 years agofix as() tests 707/head
Isaac Cambron [Wed, 3 Apr 2013 17:39:25 +0000 (13:39 -0400)] 
fix as() tests

12 years agoMerge pull request #701 from icambron/durations-as-anything
Iskren Ivov Chernev [Wed, 3 Apr 2013 16:19:45 +0000 (09:19 -0700)] 
Merge pull request #701 from icambron/durations-as-anything

adding as() and get() to durations

12 years agoMerge pull request #706 from ichernev/bug/nodeunit-dep
Iskren Ivov Chernev [Wed, 3 Apr 2013 07:08:00 +0000 (00:08 -0700)] 
Merge pull request #706 from ichernev/bug/nodeunit-dep

Added nodeunit as devDependency

12 years agoAdded nodeunit as devDependency 706/head
Iskren Chernev [Wed, 3 Apr 2013 07:01:22 +0000 (08:01 +0100)] 
Added nodeunit as devDependency

nodeunit is needed as a direct dependency for grunt tasks zone and zones.

12 years agoMerge pull request #684 from ichernev/bug/fix-duration-as-getters
Iskren Ivov Chernev [Tue, 2 Apr 2013 06:55:39 +0000 (23:55 -0700)] 
Merge pull request #684 from ichernev/bug/fix-duration-as-getters

Fix duration "as" getters

12 years agoMerge pull request #702 from spring1975/feature/dot-net-duration
Iskren Ivov Chernev [Tue, 2 Apr 2013 06:53:12 +0000 (23:53 -0700)] 
Merge pull request #702 from spring1975/feature/dot-net-duration

Added dot net style duration parser

12 years agoAdded dot net style duration parser 702/head
Roger Spring [Mon, 1 Apr 2013 05:23:10 +0000 (22:23 -0700)] 
Added dot net style duration parser

12 years agoadding as() and get() to durations 701/head
Isaac Cambron [Sun, 31 Mar 2013 19:45:19 +0000 (15:45 -0400)] 
adding as() and get() to durations

12 years agofixing tests for #690 so that they do not fail on the 31st of a month
Tim Wood [Sun, 31 Mar 2013 17:47:52 +0000 (10:47 -0700)] 
fixing tests for #690 so that they do not fail on the 31st of a month

12 years agoMerge pull request #690 from quietmint/feature/string-setter
Tim Wood [Sun, 31 Mar 2013 17:14:57 +0000 (10:14 -0700)] 
Merge pull request #690 from quietmint/feature/string-setter

Create String setters for moment#month and moment#day

12 years agoString setters for moment#day and moment#month 690/head
quietmint [Sat, 23 Mar 2013 22:43:42 +0000 (18:43 -0400)] 
String setters for moment#day and moment#month

12 years agoMerge pull request #656 from ichernev/fix-latvian-short-format
Iskren Ivov Chernev [Sat, 30 Mar 2013 08:09:22 +0000 (01:09 -0700)] 
Merge pull request #656 from ichernev/fix-latvian-short-format

Changed short format for Latvian to DD.MM.YYYY

12 years agoRefactored * 100 / 100 to toFixed(2) 684/head
Iskren Chernev [Tue, 19 Mar 2013 06:26:03 +0000 (23:26 -0700)] 
Refactored * 100 / 100 to toFixed(2)

12 years agoFixed duration to ms conversion
Iskren Chernev [Tue, 19 Mar 2013 06:20:41 +0000 (23:20 -0700)] 
Fixed duration to ms conversion

An year was converted to 12 months and a month is 30 days, so a year was 360
days. Fixed that by taking into account full years when computing milliseconds
since unix epoch and fixing duration.asMonth to convert back a year to 12
months.

12 years agoMerge pull request #693 from quietmint/feature/startof-abbreviations
Iskren Ivov Chernev [Sat, 30 Mar 2013 05:51:31 +0000 (22:51 -0700)] 
Merge pull request #693 from quietmint/feature/startof-abbreviations

Make moment#startOf and moment#endOf accept abbreviated units

12 years agoMerge pull request #696 from tricknotes/modify-filetype
Iskren Ivov Chernev [Fri, 29 Mar 2013 16:37:19 +0000 (09:37 -0700)] 
Merge pull request #696 from tricknotes/modify-filetype

Remove executable bit from readme and package.json

12 years agoModify filetype 696/head
Ryunosuke SATO [Thu, 28 Mar 2013 11:22:40 +0000 (20:22 +0900)] 
Modify filetype

- 755 -> 644

These files doesn't have to have execute authority.

12 years agoRemoved regex in endOf() 693/head
quietmint [Tue, 26 Mar 2013 12:31:43 +0000 (08:31 -0400)] 
Removed regex in endOf()

12 years agoRevert "Normalize line endings"
quietmint [Tue, 26 Mar 2013 12:08:23 +0000 (08:08 -0400)] 
Revert "Normalize line endings"

This reverts commit ad67205c80ee9511c2866a2d75ebf3469334ed0d.

12 years agomerging in grunt 0.4
Tim Wood [Mon, 25 Mar 2013 17:26:46 +0000 (10:26 -0700)] 
merging in grunt 0.4

12 years agoMerge branch 'feature/grunt-0.4' into develop
Tim Wood [Mon, 25 Mar 2013 17:20:03 +0000 (10:20 -0700)] 
Merge branch 'feature/grunt-0.4' into develop

* feature/grunt-0.4:
  building with new grunt version
  Upgrading from 1.0 to 2.0 uglify version
  Fixing travis grunt install via http://www.mattgoldspink.co.uk/2013/02/10/using-travis-ci-with-grunt-0-4-x/
  Fix watch plugin
  Fix jshint errors
  Add minwithcomments and minlang into release tasks
  fix zone and zones tasks
  fix minwithcomments task
  fix minlang task
  Add concatlang in release task
  fix concatlang taks
  Update core task to grunt plugin: min task →  grunt-contrib-uglify plugin
  add the grunt-contrib-uglify plugin
  Add grunt-contrib-concat plugin
  Remove nodeunit core task. There is the grunt-contrib-nodeunit plugin instead of it.
  Fix error from jshint: Missing space after 'function'
  update jshint plugin
  upgrade grunt from 0.3 to 0.4 (changed the test and lint plugin)
  import project metadata into the grunt config
  Rename grunt.js to Gruntfile.js

12 years agostartOf and endOf accept abbreviated units
quietmint [Sat, 23 Mar 2013 00:37:24 +0000 (20:37 -0400)] 
startOf and endOf accept abbreviated units

12 years agoNormalize line endings
quietmint [Sat, 23 Mar 2013 00:35:54 +0000 (20:35 -0400)] 
Normalize line endings

12 years agoMerge pull request #678 from TerraPass/fix-ukrainian-genitive
Tim Wood [Sun, 17 Mar 2013 22:26:14 +0000 (15:26 -0700)] 
Merge pull request #678 from TerraPass/fix-ukrainian-genitive

A fix for Ukrainian (uk) language translation

12 years agoChanged line endings in lang/uk.js back to follow UNIX convention. 678/head
Taras [Sun, 17 Mar 2013 09:43:33 +0000 (11:43 +0200)] 
Changed line endings in lang/uk.js back to follow UNIX convention.

12 years agoUpdated Ukrainian (uk) translation test according to latest changes.
Taras [Sat, 16 Mar 2013 16:09:02 +0000 (18:09 +0200)] 
Updated Ukrainian (uk) translation test according to latest changes.

12 years agoMade amendments to Ukrainian (uk) localization.
Taras [Sat, 16 Mar 2013 14:19:32 +0000 (16:19 +0200)] 
Made amendments to Ukrainian (uk) localization.

Changed the way in which 'Last %weekday%' calendar dates are written by
making it more in line with modern grammar rules, added genitive case
for weekdays. Thus fixed an issue with displaying calendar dates as
'Last %weekday%', where nominative case was incorrectly used instead of
accusative.

12 years agoMerge pull request #672 from irakli-janiashvili/develop
Tim Wood [Tue, 12 Mar 2013 21:44:55 +0000 (14:44 -0700)] 
Merge pull request #672 from irakli-janiashvili/develop

added Georgian (ka) language

12 years agoadded Georgian (ka) language 672/head
Irakli Janiashvili [Sat, 9 Mar 2013 23:07:54 +0000 (03:07 +0400)] 
added Georgian (ka) language

12 years agoadding tests for shorthand zone setters via -15 to +15
Tim Wood [Sat, 9 Mar 2013 21:21:07 +0000 (13:21 -0800)] 
adding tests for shorthand zone setters via -15 to +15

12 years agoadding tests for parsing strings for timezone info
Tim Wood [Sat, 9 Mar 2013 21:11:59 +0000 (13:11 -0800)] 
adding tests for parsing strings for timezone info

12 years agoundoing grunt task test files
Tim Wood [Sat, 9 Mar 2013 04:32:33 +0000 (20:32 -0800)] 
undoing grunt task test files

12 years agofixing travis
Tim Wood [Sat, 9 Mar 2013 04:31:34 +0000 (20:31 -0800)] 
fixing travis

12 years agoadding tests for adding/subtracting over dst
Tim Wood [Sat, 9 Mar 2013 04:24:13 +0000 (20:24 -0800)] 
adding tests for adding/subtracting over dst

12 years agoadding some tests for zones outside the -12 to +12 range
Tim Wood [Fri, 8 Mar 2013 18:42:50 +0000 (10:42 -0800)] 
adding some tests for zones outside the -12 to +12 range

12 years agoadding zone tests for isSame, isBefore, and isAfter
Tim Wood [Fri, 8 Mar 2013 18:29:33 +0000 (10:29 -0800)] 
adding zone tests for isSame, isBefore, and isAfter

12 years agozones outputting correct timestamped date with toDate
Tim Wood [Fri, 8 Mar 2013 04:34:06 +0000 (20:34 -0800)] 
zones outputting correct timestamped date with toDate

12 years agozone tests for cloning, start/endof, resetting offset with local and utc
Tim Wood [Fri, 8 Mar 2013 04:30:19 +0000 (20:30 -0800)] 
zone tests for cloning, start/endof, resetting offset with local and utc

12 years agoadding tests for unix timestamp and unix millisecond offset
Tim Wood [Fri, 8 Mar 2013 03:51:31 +0000 (19:51 -0800)] 
adding tests for unix timestamp and unix millisecond offset

12 years agoadding tests for diff and from
Tim Wood [Fri, 8 Mar 2013 03:42:37 +0000 (19:42 -0800)] 
adding tests for diff and from

12 years agomerging in master
Tim Wood [Thu, 7 Mar 2013 23:21:50 +0000 (15:21 -0800)] 
merging in master