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

12 years ago2.0.0 release
Tim Wood [Fri, 8 Feb 2013 17:54:18 +0000 (09:54 -0800)] 
2.0.0 release

12 years agofixing fr-ca lang for #614
Tim Wood [Fri, 8 Feb 2013 17:43:39 +0000 (09:43 -0800)] 
fixing fr-ca lang for #614

12 years agoMerge pull request #614 from francisbesset/lang_fr_fix_typo
Tim Wood [Fri, 8 Feb 2013 17:41:05 +0000 (09:41 -0800)] 
Merge pull request #614 from francisbesset/lang_fr_fix_typo

[Lang fr] Fixed typo

12 years ago[Lang fr] Fixed typo 614/head
Francis Besset [Fri, 8 Feb 2013 17:36:06 +0000 (18:36 +0100)] 
[Lang fr] Fixed typo

12 years agofixing #612 #523 #516
Tim Wood [Fri, 8 Feb 2013 17:21:48 +0000 (09:21 -0800)] 
fixing #612 #523 #516

12 years agoswitching to floored diffs #606 607/head 608/head
Tim Wood [Tue, 5 Feb 2013 19:17:58 +0000 (11:17 -0800)] 
switching to floored diffs #606

12 years agomerging #572
Tim Wood [Tue, 5 Feb 2013 18:57:07 +0000 (10:57 -0800)] 
merging #572

12 years agomerging in #581
Tim Wood [Tue, 5 Feb 2013 18:54:34 +0000 (10:54 -0800)] 
merging in #581

12 years agoMaking moment(Date) copy the Date instead of using it directly #592
Tim Wood [Fri, 25 Jan 2013 18:08:00 +0000 (10:08 -0800)] 
Making moment(Date) copy the Date instead of using it directly #592

12 years agoAdded format token X, that will parse/print unix timestamp with ms 581/head
Iskren Chernev [Wed, 16 Jan 2013 08:22:14 +0000 (00:22 -0800)] 
Added format token X, that will parse/print unix timestamp with ms

When parsing all of X, X.S, X.SS and X.SSS will parse timestamp plus
optional millisecond (1-3 digits), but when formatting will display as
expected.

12 years agoMerge branch 'develop' of github.com:timrwood/moment into develop
Tim Wood [Wed, 23 Jan 2013 18:56:07 +0000 (10:56 -0800)] 
Merge branch 'develop' of github.com:timrwood/moment into develop

* 'develop' of github.com:timrwood/moment:
  adding a start/endOf week support

12 years agomaking change for #575 with unit tests
Tim Wood [Wed, 23 Jan 2013 18:55:54 +0000 (10:55 -0800)] 
making change for #575 with unit tests

12 years agoMerge pull request #585 from bleadof/feature/lang-short
Tim Wood [Wed, 23 Jan 2013 18:30:33 +0000 (10:30 -0800)] 
Merge pull request #585 from bleadof/feature/lang-short

Changed three letter shortenings to tam -> tammi and so forth

12 years agoMerge pull request #567 from stuartleigh/develop
Tim Wood [Wed, 23 Jan 2013 18:28:44 +0000 (10:28 -0800)] 
Merge pull request #567 from stuartleigh/develop

adding a start/endOf week support

12 years agoadding hasOwnProperty check for #593
Tim Wood [Wed, 23 Jan 2013 18:24:08 +0000 (10:24 -0800)] 
adding hasOwnProperty check for #593

12 years agofailing tests for #593
Tim Wood [Wed, 23 Jan 2013 18:18:24 +0000 (10:18 -0800)] 
failing tests for #593

12 years agoMerge pull request #591 from zemlanin/feature/uk-lang
Tim Wood [Wed, 23 Jan 2013 18:06:08 +0000 (10:06 -0800)] 
Merge pull request #591 from zemlanin/feature/uk-lang

Ukrainian translation (fixed)

12 years agoMerge pull request #584 from timrwood/feature/lang-short
Tim Wood [Wed, 23 Jan 2013 17:43:24 +0000 (09:43 -0800)] 
Merge pull request #584 from timrwood/feature/lang-short

Adding short form localized tokens.

12 years agoadding a start/endOf week support 567/head
Stuart [Tue, 8 Jan 2013 09:58:46 +0000 (09:58 +0000)] 
adding a start/endOf week support

12 years agooops 590/head 591/head
Anton Vérinov [Mon, 21 Jan 2013 20:51:24 +0000 (22:51 +0200)] 
oops

12 years agoUpdated style of uk locale
Anton Vérinov [Mon, 21 Jan 2013 20:47:52 +0000 (22:47 +0200)] 
Updated style of uk locale

12 years agoUpdated test for uk locale
Anton Vérinov [Mon, 21 Jan 2013 20:41:04 +0000 (22:41 +0200)] 
Updated test for uk locale

12 years agoUkrainian translation 589/head
Anton Vérinov [Mon, 21 Jan 2013 20:16:55 +0000 (22:16 +0200)] 
Ukrainian translation

12 years agoChanged three letter shortenings to tam -> tammi and so forth 585/head
Tarmo Aidantausta [Fri, 18 Jan 2013 11:28:52 +0000 (13:28 +0200)] 
Changed three letter shortenings to tam -> tammi and so forth

12 years agoadding l ll lll llll tokens #533 584/head
Tim Wood [Thu, 17 Jan 2013 01:30:09 +0000 (17:30 -0800)] 
adding l ll lll llll tokens #533

12 years agoallowing singular form in diff
Tim Wood [Wed, 16 Jan 2013 18:48:44 +0000 (10:48 -0800)] 
allowing singular form in diff

12 years agoMerge pull request #571 from timrwood/feature/fix-diff
Tim Wood [Wed, 16 Jan 2013 18:43:13 +0000 (10:43 -0800)] 
Merge pull request #571 from timrwood/feature/fix-diff

Fix month and year diffs

12 years agofixing month and year diffs to match expectations 571/head
Tim Wood [Wed, 16 Jan 2013 18:28:23 +0000 (10:28 -0800)] 
fixing month and year diffs to match expectations

12 years agoMerge branch 'develop' of github.com:timrwood/moment into develop
Tim Wood [Tue, 15 Jan 2013 23:30:05 +0000 (15:30 -0800)] 
Merge branch 'develop' of github.com:timrwood/moment into develop

* 'develop' of github.com:timrwood/moment:
  adding more tests for reversed args
  Adding support for moment.add(1, 'second') in addition to moment.add('second', 1)
  adding ability to set the parse language

12 years agogiving @ichernev some credits
Tim Wood [Tue, 15 Jan 2013 23:29:46 +0000 (15:29 -0800)] 
giving @ichernev some credits

12 years agoMerge pull request #579 from timrwood/feature/add-duration-args
Tim Wood [Tue, 15 Jan 2013 20:13:12 +0000 (12:13 -0800)] 
Merge pull request #579 from timrwood/feature/add-duration-args

Adding support for moment.add(1, 'second')

12 years agoadding more tests for reversed args 579/head
Tim Wood [Tue, 15 Jan 2013 20:12:41 +0000 (12:12 -0800)] 
adding more tests for reversed args

12 years agoMerge pull request #574 from timrwood/feature/parse-language
Tim Wood [Tue, 15 Jan 2013 19:48:06 +0000 (11:48 -0800)] 
Merge pull request #574 from timrwood/feature/parse-language

Adding ability to set the parse language

12 years agoMerging in feature/ordinal
Tim Wood [Tue, 15 Jan 2013 19:46:55 +0000 (11:46 -0800)] 
Merging in feature/ordinal

12 years agoMerge branch 'develop' of github.com:timrwood/moment into develop
Tim Wood [Tue, 15 Jan 2013 19:45:27 +0000 (11:45 -0800)] 
Merge branch 'develop' of github.com:timrwood/moment into develop

* 'develop' of github.com:timrwood/moment:
  removing kr and jp files #293

12 years agoAllowing you to set values on a language after it has been loaded #580
Tim Wood [Tue, 15 Jan 2013 19:45:08 +0000 (11:45 -0800)] 
Allowing you to set values on a language after it has been loaded #580

12 years agoMerge pull request #578 from timrwood/feature/lang-abbr-correction
Tim Wood [Mon, 14 Jan 2013 21:55:26 +0000 (13:55 -0800)] 
Merge pull request #578 from timrwood/feature/lang-abbr-correction

removing kr and jp files #293

12 years agoAdding support for moment.add(1, 'second') in addition to moment.add('second', 1)
Tim Wood [Mon, 14 Jan 2013 20:03:17 +0000 (12:03 -0800)] 
Adding support for moment.add(1, 'second') in addition to moment.add('second', 1)

12 years agoremoving kr and jp files #293 578/head
Tim Wood [Mon, 14 Jan 2013 19:30:37 +0000 (11:30 -0800)] 
removing kr and jp files #293

12 years agoadding changes for #484 to support ordinals without numbers 577/head
Tim Wood [Mon, 14 Jan 2013 19:21:57 +0000 (11:21 -0800)] 
adding changes for #484 to support ordinals without numbers

12 years agochanging two digit year parsing cutoff to match strptime #468
Tim Wood [Fri, 11 Jan 2013 19:40:27 +0000 (11:40 -0800)] 
changing two digit year parsing cutoff to match strptime #468

12 years agoUpdate CONTRIBUTING.md
Tim Wood [Fri, 11 Jan 2013 19:14:42 +0000 (11:14 -0800)] 
Update CONTRIBUTING.md

12 years agoadding ability to set the parse language 574/head
Tim Wood [Fri, 11 Jan 2013 18:52:52 +0000 (10:52 -0800)] 
adding ability to set the parse language

12 years agoadding moment.lang('en') to end of langs file #421
Tim Wood [Thu, 10 Jan 2013 19:57:34 +0000 (11:57 -0800)] 
adding moment.lang('en') to end of langs file #421

12 years agodeprecating humanizeDuration 572/head
Tim Wood [Thu, 10 Jan 2013 19:21:28 +0000 (11:21 -0800)] 
deprecating humanizeDuration

12 years agodeprecating eod and sod
Tim Wood [Thu, 10 Jan 2013 19:19:50 +0000 (11:19 -0800)] 
deprecating eod and sod

12 years agoMerge branch 'develop' of github.com:timrwood/moment into develop
Tim Wood [Thu, 10 Jan 2013 18:50:01 +0000 (10:50 -0800)] 
Merge branch 'develop' of github.com:timrwood/moment into develop

* 'develop' of github.com:timrwood/moment:
  toString now returns a fixed format that looks like unix data
  revert the anonymous use of define
  Fixed typos
  add a dojo build profile

12 years agocleaning up year and month diffs
Tim Wood [Wed, 9 Jan 2013 18:38:15 +0000 (10:38 -0800)] 
cleaning up year and month diffs

12 years agoMerge pull request #566 from ichernev/bugfix/to-string-fixed-format
Iskren Ivov Chernev [Tue, 8 Jan 2013 23:44:19 +0000 (15:44 -0800)] 
Merge pull request #566 from ichernev/bugfix/to-string-fixed-format

toString now returns a fixed format that looks like unix data

12 years agoremoving old lang files
Tim Wood [Tue, 8 Jan 2013 21:25:01 +0000 (13:25 -0800)] 
removing old lang files

12 years agotoString now returns a fixed format that looks like unix data 565/head 566/head
Iskren Chernev [Tue, 8 Jan 2013 05:30:03 +0000 (21:30 -0800)] 
toString now returns a fixed format that looks like unix data

This is actually fixing #475 -- toString on utc moments was returning
localized format. This commit fixes the issue and also makes sure that
toString will work uniformly on all browsers from now on.

12 years agoMerge pull request #524 from djmitche/dojoBuild
Tim Wood [Wed, 2 Jan 2013 17:16:18 +0000 (09:16 -0800)] 
Merge pull request #524 from djmitche/dojoBuild

add a dojo build profile

12 years agorevert the anonymous use of define 524/head
Dustin J. Mitchell [Sun, 30 Dec 2012 14:59:00 +0000 (09:59 -0500)] 
revert the anonymous use of define

12 years agoMerge pull request #550 from st33n/master
Tim Wood [Wed, 19 Dec 2012 17:15:29 +0000 (09:15 -0800)] 
Merge pull request #550 from st33n/master

Fix issues with danish localization

12 years agoFix Danish localizations (24 hour time, 'månede' -> 'måned') 550/head
Steen Lehmann [Tue, 18 Dec 2012 11:23:30 +0000 (12:23 +0100)] 
Fix Danish localizations (24 hour time, 'månede' -> 'måned')

12 years agoMerge pull request #549 from pborreli/patch-1
Tim Wood [Mon, 17 Dec 2012 17:40:15 +0000 (09:40 -0800)] 
Merge pull request #549 from pborreli/patch-1

Fixed typos

12 years agoFixed typos 549/head
Pascal Borreli [Sat, 15 Dec 2012 23:48:44 +0000 (23:48 +0000)] 
Fixed typos

12 years agoMerge pull request #485 from timrwood/feature/lang-amd
Tim Wood [Wed, 12 Dec 2012 19:31:07 +0000 (11:31 -0800)] 
Merge pull request #485 from timrwood/feature/lang-amd

Adding AMD wrapper to lang files

12 years agominifying lang files with new amd wrappers 485/head
Tim Wood [Wed, 12 Dec 2012 19:26:26 +0000 (11:26 -0800)] 
minifying lang files with new amd wrappers

12 years agominifying lang files with new amd wrappers
Tim Wood [Wed, 12 Dec 2012 19:26:14 +0000 (11:26 -0800)] 
minifying lang files with new amd wrappers

12 years agomerging in develop branch
Tim Wood [Wed, 12 Dec 2012 19:24:57 +0000 (11:24 -0800)] 
merging in develop branch

12 years agoUpdate readme.md
Tim Wood [Wed, 12 Dec 2012 17:55:32 +0000 (09:55 -0800)] 
Update readme.md

12 years agoreverting #546 for more discussion
Tim Wood [Wed, 12 Dec 2012 17:52:26 +0000 (09:52 -0800)] 
reverting #546 for more discussion

12 years agoMerge pull request #546 from petedmarsh/change-relative-time-rounding-behaviour
Tim Wood [Wed, 12 Dec 2012 17:25:01 +0000 (09:25 -0800)] 
Merge pull request #546 from petedmarsh/change-relative-time-rounding-behaviour

Change from round(...) to Math.floor(...) when calculating relative number of months

12 years agoChange from round(...) to Math.floor(...) when calculating relative number of months 546/head
Peter Marsh [Tue, 11 Dec 2012 18:08:49 +0000 (18:08 +0000)] 
Change from round(...) to Math.floor(...) when calculating relative number of months

12 years agoMerge pull request #543 from sirn/feature/thai-language
Tim Wood [Mon, 10 Dec 2012 23:11:22 +0000 (15:11 -0800)] 
Merge pull request #543 from sirn/feature/thai-language

Add Thai language support

12 years agoBetter wording for past. 543/head
Kridsada Thanabulpong [Sun, 9 Dec 2012 23:23:34 +0000 (06:23 +0700)] 
Better wording for past.

12 years agoAdd Thai language support.
Kridsada Thanabulpong [Sun, 9 Dec 2012 19:44:31 +0000 (02:44 +0700)] 
Add Thai language support.

12 years agoAdding week tests for arabic
Tim Wood [Tue, 27 Nov 2012 19:47:42 +0000 (11:47 -0800)] 
Adding week tests for arabic

#527 #503

12 years agoFixing line endings
Tim Wood [Tue, 27 Nov 2012 19:14:27 +0000 (11:14 -0800)] 
Fixing line endings

12 years agoMerge pull request #527 from abdelsaid/develop
Tim Wood [Tue, 27 Nov 2012 19:12:47 +0000 (11:12 -0800)] 
Merge pull request #527 from abdelsaid/develop

Fix to issue #521

12 years agoMerge pull request #514 from petedmarsh/feature/is-before-is-after
Tim Wood [Tue, 27 Nov 2012 17:40:07 +0000 (09:40 -0800)] 
Merge pull request #514 from petedmarsh/feature/is-before-is-after

Feature/is before is after

12 years agoImplemented isBefore and isAfter 514/head
Peter Marsh [Fri, 16 Nov 2012 18:20:41 +0000 (18:20 +0000)] 
Implemented isBefore and isAfter

This includes a minor change to isSame to make the 'units' parameter optional to match isBefore/isAfter

12 years agoRemoved BOM from UTF-8 527/head
Abdel Said [Mon, 26 Nov 2012 20:54:10 +0000 (15:54 -0500)] 
Removed BOM from UTF-8

12 years agoMerge pull request #503 from timrwood/feature/weeks
Tim Wood [Mon, 26 Nov 2012 18:22:51 +0000 (10:22 -0800)] 
Merge pull request #503 from timrwood/feature/weeks

Weeks

12 years agoMerging in develop and fixing conflicts 503/head
Tim Wood [Mon, 26 Nov 2012 18:17:44 +0000 (10:17 -0800)] 
Merging in develop and fixing conflicts

12 years agoMerge branch 'develop' into feature/weeks
Tim Wood [Mon, 26 Nov 2012 17:49:10 +0000 (09:49 -0800)] 
Merge branch 'develop' into feature/weeks

* develop:
  fixing flaky test

12 years agoMerge pull request #523 from baptistedeleplace/master
Tim Wood [Mon, 26 Nov 2012 17:35:00 +0000 (09:35 -0800)] 
Merge pull request #523 from baptistedeleplace/master

french : xx année(s) -> xx an(s)

12 years agoMerge pull request #520 from ichernev/bugfix/update-pl
Tim Wood [Mon, 26 Nov 2012 17:27:53 +0000 (09:27 -0800)] 
Merge pull request #520 from ichernev/bugfix/update-pl

Improved polish translations for 'last week'