]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
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 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

12 years agoadd unit test for bahasa melayu
Weldan Jamili [Tue, 19 Feb 2013 20:03:39 +0000 (04:03 +0800)] 
add unit test for bahasa melayu

12 years agoAdd concatlang in release task
Igor Lima [Tue, 19 Feb 2013 20:01:28 +0000 (17:01 -0300)] 
Add concatlang in release task

12 years agofix concatlang taks
Igor Lima [Tue, 19 Feb 2013 19:59:30 +0000 (16:59 -0300)] 
fix concatlang taks

12 years agoUpdate core task to grunt plugin: min task → grunt-contrib-uglify plugin
Igor Lima [Tue, 19 Feb 2013 18:54:53 +0000 (15:54 -0300)] 
Update core task to grunt plugin: min task →  grunt-contrib-uglify plugin

12 years agoadd the grunt-contrib-uglify plugin
Igor Lima [Tue, 19 Feb 2013 18:29:38 +0000 (15:29 -0300)] 
add the grunt-contrib-uglify plugin

12 years agoMerge pull request #640 from mehiel/feature/el-lang
Tim Wood [Tue, 19 Feb 2013 17:57:51 +0000 (09:57 -0800)] 
Merge pull request #640 from mehiel/feature/el-lang

i18n: add greek language

12 years agoAdd grunt-contrib-concat plugin
Igor Lima [Tue, 19 Feb 2013 17:04:01 +0000 (14:04 -0300)] 
Add grunt-contrib-concat plugin

12 years agoRemove nodeunit core task. There is the grunt-contrib-nodeunit plugin instead of it.
Igor Lima [Tue, 19 Feb 2013 16:50:54 +0000 (13:50 -0300)] 
Remove nodeunit core task. There is the grunt-contrib-nodeunit plugin instead of it.

12 years agoFix error from jshint: Missing space after 'function'
Igor Lima [Tue, 19 Feb 2013 16:46:32 +0000 (13:46 -0300)] 
Fix error from jshint: Missing space after 'function'

12 years agoupdate jshint plugin
Igor Lima [Tue, 19 Feb 2013 16:45:05 +0000 (13:45 -0300)] 
update jshint plugin

12 years agoupgrade grunt from 0.3 to 0.4 (changed the test and lint plugin)
Igor Lima [Tue, 19 Feb 2013 14:50:50 +0000 (11:50 -0300)] 
upgrade grunt from 0.3 to 0.4 (changed the test and lint plugin)

12 years agoimport project metadata into the grunt config
Igor Lima [Tue, 19 Feb 2013 14:05:24 +0000 (11:05 -0300)] 
import project metadata into the grunt config

12 years agoRename grunt.js to Gruntfile.js
Igor Lima [Tue, 19 Feb 2013 13:55:24 +0000 (10:55 -0300)] 
Rename grunt.js to Gruntfile.js

12 years agoi18n: greek language update 640/head
Aggelos Karalias [Tue, 19 Feb 2013 10:54:21 +0000 (12:54 +0200)] 
i18n: greek language update

Added month names nominative and genitive handling. The rule is that if a day
number (D) exists in the format before MMMM then genitive is used or else we
use nominative.

examples:
"Do MMMM YYYY"       should be like "19η Φεβρουαρίου 2013"
"dddd, DD MMMM YYYY" should be like "Τρίτη, 19 Φεβρουαρίου 2013"
"MMMM YYYY"          should be like "Φεβρουάριος 2013"
"dddd, MMMM YYYY"    should be like "Τρίτη, Φεβρουαρίος 2013"

12 years agoMerge pull request #641 from igorlima/develop
Iskren Ivov Chernev [Tue, 19 Feb 2013 08:03:59 +0000 (00:03 -0800)] 
Merge pull request #641 from igorlima/develop

fix grunt version, as grunt 0.4 requires non-trivial code changes

12 years agofix grunt version 641/head
Igor Lima [Tue, 19 Feb 2013 04:17:35 +0000 (01:17 -0300)] 
fix grunt version

12 years agoi18n: add greek language
Aggelos Karalias [Tue, 19 Feb 2013 02:33:00 +0000 (04:33 +0200)] 
i18n: add greek language

12 years agoadd translation for bahasa melayu
Weldan Jamili [Mon, 18 Feb 2013 11:32:31 +0000 (03:32 -0800)] 
add translation for bahasa melayu

12 years agoMerge pull request #629 from ichernev/fix-test-diff
Tim Wood [Sat, 16 Feb 2013 18:53:54 +0000 (10:53 -0800)] 
Merge pull request #629 from ichernev/fix-test-diff

Fixed a bug in cloning a Date

12 years agoFixed wrong test message 629/head
Iskren Chernev [Thu, 14 Feb 2013 05:35:44 +0000 (21:35 -0800)] 
Fixed wrong test message

60 * 60 * 1000 is 3,600,000, not 360,000

12 years agoFixed a bug in cloning a Date
Iskren Chernev [Thu, 14 Feb 2013 05:31:35 +0000 (21:31 -0800)] 
Fixed a bug in cloning a Date

To clone a Date object d you need to convert it to a Number first and then pass
it to Date constructor, like new Date(+d). Otherwise some browsers (firefox)
cut milliseconds.

12 years agoMerge branch 'master' into develop
Tim Wood [Mon, 11 Feb 2013 21:42:22 +0000 (22:42 +0100)] 
Merge branch 'master' into develop

* master:
  adding pre/post hooks for tests

12 years agoadding pre/post hooks for tests
Tim Wood [Mon, 11 Feb 2013 21:41:06 +0000 (22:41 +0100)] 
adding pre/post hooks for tests

12 years agoMerge branch 'master' into develop
Tim Wood [Mon, 11 Feb 2013 21:35:03 +0000 (22:35 +0100)] 
Merge branch 'master' into develop

* master:
  fixing uglify-js dependancy and building langs

12 years agofixing uglify-js dependancy and building langs
Tim Wood [Mon, 11 Feb 2013 21:34:37 +0000 (22:34 +0100)] 
fixing uglify-js dependancy and building langs

12 years agoMerge branch 'master' into develop
Tim Wood [Mon, 11 Feb 2013 21:25:08 +0000 (22:25 +0100)] 
Merge branch 'master' into develop

* master:
  fixing bad test for #622 #620 #617

12 years agofixing bad test for #622 #620 #617
Tim Wood [Mon, 11 Feb 2013 21:24:46 +0000 (22:24 +0100)] 
fixing bad test for #622 #620 #617

12 years agopassing test for #615
Tim Wood [Mon, 11 Feb 2013 20:13:27 +0000 (12:13 -0800)] 
passing test for #615

12 years agofailing test for #615
Tim Wood [Mon, 11 Feb 2013 20:13:10 +0000 (12:13 -0800)] 
failing test for #615

12 years agoMerge branch 'feature/lang-short' into develop
Tim Wood [Fri, 8 Feb 2013 19:51:35 +0000 (11:51 -0800)] 
Merge branch 'feature/lang-short' into develop

* feature/lang-short:
  Changed three letter shortenings to tam -> tammi and so forth

12 years agomerging in develop
Tim Wood [Fri, 8 Feb 2013 19:23:09 +0000 (11:23 -0800)] 
merging in develop

12 years agomoving the browser lang wrapper to langs.js 2.0.0
Tim Wood [Fri, 8 Feb 2013 18:30:51 +0000 (10:30 -0800)] 
moving the browser lang wrapper to langs.js

12 years agofixing bad build process
Tim Wood [Fri, 8 Feb 2013 18:18:18 +0000 (10:18 -0800)] 
fixing bad build process