]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
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 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 agomerging in master
Tim Wood [Thu, 7 Mar 2013 23:21:50 +0000 (15:21 -0800)] 
merging in master

12 years agohotfix to include ms-my on the momentjs.com homepage
Tim Wood [Thu, 7 Mar 2013 22:34:15 +0000 (14:34 -0800)] 
hotfix to include ms-my on the momentjs.com homepage

12 years agoChanged short format for Latvian to DD.MM.YYYY 656/head
Iskren Chernev [Tue, 26 Feb 2013 08:44:47 +0000 (05:44 -0300)] 
Changed short format for Latvian to DD.MM.YYYY

Requested by @salixzs in #655

12 years agoMerge pull request #623 from toofishes/patch-1
Iskren Ivov Chernev [Sat, 23 Feb 2013 07:53:26 +0000 (23:53 -0800)] 
Merge pull request #623 from toofishes/patch-1

Capitalize 'Last' when referring to last week

12 years agoMerge pull request #646 from jdudek/tojson-non-utc
Tim Wood [Fri, 22 Feb 2013 22:59:28 +0000 (14:59 -0800)] 
Merge pull request #646 from jdudek/tojson-non-utc

Fixed incorrect result of toJSON for dates with timezone other than UTC

12 years agobuilding with new grunt version
Tim Wood [Fri, 22 Feb 2013 22:28:54 +0000 (14:28 -0800)] 
building with new grunt version

12 years agoMerge pull request #647 from igorlima/feature/grunt-0.4
Tim Wood [Fri, 22 Feb 2013 22:20:50 +0000 (14:20 -0800)] 
Merge pull request #647 from igorlima/feature/grunt-0.4

Upgrading from 1.0 to 2.0 uglify version

12 years agoFixed missing cloning of moment in toJSON method 646/head
Jan Dudek [Fri, 22 Feb 2013 08:17:09 +0000 (09:17 +0100)] 
Fixed missing cloning of moment in toJSON method

12 years agomanually duplicating #650 in the master branch
Tim Wood [Thu, 21 Feb 2013 17:59:27 +0000 (09:59 -0800)] 
manually duplicating #650 in the master branch

12 years agoMerge pull request #650 from tsareg/develop
Tim Wood [Thu, 21 Feb 2013 17:59:08 +0000 (09:59 -0800)] 
Merge pull request #650 from tsareg/develop

Fixed syntax error in test in old IEs

12 years agoFixed syntax error in old IEs 650/head
Kostiantyn Tsaregradskyi [Thu, 21 Feb 2013 10:57:01 +0000 (12:57 +0200)] 
Fixed syntax error in old IEs

12 years agoUpgrading from 1.0 to 2.0 uglify version 647/head
Igor Lima [Thu, 21 Feb 2013 02:24:24 +0000 (23:24 -0300)] 
Upgrading from 1.0 to 2.0 uglify version

12 years agoCapitalize 'Last' when referring to last week 623/head
Dan McGee [Mon, 11 Feb 2013 00:29:57 +0000 (18:29 -0600)] 
Capitalize 'Last' when referring to last week

'Today', 'Yesterday', etc. were capitalized while 'last' was not, which
seems very inconsistent. Capitalize 'Last' in all English locales.

12 years agoFixed incorrect result of toJSON for dates with timezone other than UTC
Jan Dudek [Wed, 20 Feb 2013 21:43:30 +0000 (22:43 +0100)] 
Fixed incorrect result of toJSON for dates with timezone other than UTC

12 years agoMerge pull request #645 from mayanksinghal/develop
Tim Wood [Wed, 20 Feb 2013 18:20:30 +0000 (10:20 -0800)] 
Merge pull request #645 from mayanksinghal/develop

Adding Hindi Lang with unit tests

12 years agoFixing travis grunt install via http://www.mattgoldspink.co.uk/2013/02/10/using-travi...
Tim Wood [Wed, 20 Feb 2013 17:57:03 +0000 (09:57 -0800)] 
Fixing travis grunt install via http://www.mattgoldspink.co.uk/2013/02/10/using-travis-ci-with-grunt-0-4-x/

12 years agoMerge remote-tracking branch 'igorlima/develop' into feature/grunt-0.4
Tim Wood [Wed, 20 Feb 2013 17:47:53 +0000 (09:47 -0800)] 
Merge remote-tracking branch 'igorlima/develop' into feature/grunt-0.4

* igorlima/develop:
  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 agoMerge branch 'master' into develop
Tim Wood [Wed, 20 Feb 2013 17:35:37 +0000 (09:35 -0800)] 
Merge branch 'master' into develop

* master:
  manually duplicating #629

12 years agomanually duplicating #629
Tim Wood [Wed, 20 Feb 2013 17:35:06 +0000 (09:35 -0800)] 
manually duplicating #629

12 years agoMerge pull request #638 from weldan/develop
Tim Wood [Wed, 20 Feb 2013 17:20:22 +0000 (09:20 -0800)] 
Merge pull request #638 from weldan/develop

add translation for bahasa melayu

12 years agoAdding Hindi Lang with unit tests 645/head
Mayank Singhal [Wed, 20 Feb 2013 09:52:40 +0000 (01:52 -0800)] 
Adding Hindi Lang with unit tests

12 years agoMerge branch 'migrate_to_the_latest_grunt_version' into develop 644/head
Igor Lima [Wed, 20 Feb 2013 00:56:56 +0000 (21:56 -0300)] 
Merge branch 'migrate_to_the_latest_grunt_version' into develop

12 years agoFix watch plugin
Igor Lima [Wed, 20 Feb 2013 00:52:03 +0000 (21:52 -0300)] 
Fix watch plugin

12 years agoFix jshint errors
Igor Lima [Wed, 20 Feb 2013 00:32:56 +0000 (21:32 -0300)] 
Fix jshint errors

12 years agoAdd minwithcomments and minlang into release tasks
Igor Lima [Wed, 20 Feb 2013 00:30:07 +0000 (21:30 -0300)] 
Add minwithcomments and minlang into release tasks

12 years agofix zone and zones tasks
Igor Lima [Wed, 20 Feb 2013 00:26:20 +0000 (21:26 -0300)] 
fix zone and zones tasks

12 years agoattempt #7 to fix format 638/head
Weldan Jamili [Wed, 20 Feb 2013 00:15:42 +0000 (08:15 +0800)] 
attempt #7 to fix format

12 years agoattempt #6 to fix format
Weldan Jamili [Wed, 20 Feb 2013 00:13:28 +0000 (08:13 +0800)] 
attempt #6 to fix format

12 years agoattempt #5 to fix format
Weldan Jamili [Wed, 20 Feb 2013 00:11:10 +0000 (08:11 +0800)] 
attempt #5 to fix format

12 years agoattempt #4 to fix format
Weldan Jamili [Wed, 20 Feb 2013 00:05:40 +0000 (08:05 +0800)] 
attempt #4 to fix format

12 years agofix minwithcomments task
Igor Lima [Wed, 20 Feb 2013 00:00:01 +0000 (21:00 -0300)] 
fix minwithcomments task

12 years agoattempt #3 to fix format
Weldan Jamili [Tue, 19 Feb 2013 23:52:49 +0000 (07:52 +0800)] 
attempt #3 to fix format

12 years agofix typo to pass travis build
Weldan Jamili [Tue, 19 Feb 2013 23:50:02 +0000 (07:50 +0800)] 
fix typo to pass travis build

12 years agofix minlang task
Igor Lima [Tue, 19 Feb 2013 23:40:55 +0000 (20:40 -0300)] 
fix minlang task

12 years agoattempt #2 to fix format
Weldan Jamili [Tue, 19 Feb 2013 23:23:55 +0000 (07:23 +0800)] 
attempt #2 to fix format

12 years agoattempt to fix case format - to pass travis build
Weldan Jamili [Tue, 19 Feb 2013 23:16:41 +0000 (07:16 +0800)] 
attempt to fix case format - to pass travis build

12 years agoupdate language code
Weldan Jamili [Tue, 19 Feb 2013 22:47:20 +0000 (06:47 +0800)] 
update language code

12 years agorename language name
Weldan Jamili [Tue, 19 Feb 2013 20:06:57 +0000 (04:06 +0800)] 
rename language name