]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
11 years agoFix sr-cyr and tzm-la close #1609 1616/head
Iskren Chernev [Tue, 22 Apr 2014 06:16:58 +0000 (23:16 -0700)] 
Fix sr-cyr and tzm-la close #1609

11 years agoFix links in readme
Iskren Chernev [Sun, 20 Apr 2014 17:56:49 +0000 (10:56 -0700)] 
Fix links in readme

11 years agoDon't include minified files in PRs
Isaac Cambron [Sat, 12 Apr 2014 19:22:25 +0000 (15:22 -0400)] 
Don't include minified files in PRs

11 years agoBumping version to 2.6.0 2.6.0
Iskren Chernev [Sat, 12 Apr 2014 16:37:48 +0000 (09:37 -0700)] 
Bumping version to 2.6.0

11 years agoFix createFromInputFallback
Iskren Chernev [Fri, 11 Apr 2014 07:20:57 +0000 (00:20 -0700)] 
Fix createFromInputFallback

11 years agoMerge pull request #1604 from ichernev/fix-input-fallback
Iskren Ivov Chernev [Fri, 11 Apr 2014 06:33:38 +0000 (23:33 -0700)] 
Merge pull request #1604 from ichernev/fix-input-fallback

Ensure createFromInputFallback is called in all cases

11 years agoAdd moment.suppressDeprecationWarnings 1604/head
Iskren Chernev [Fri, 11 Apr 2014 06:33:03 +0000 (23:33 -0700)] 
Add moment.suppressDeprecationWarnings

11 years agoEnsure createFromInputFallback is called in all cases
Iskren Chernev [Fri, 11 Apr 2014 05:52:35 +0000 (22:52 -0700)] 
Ensure createFromInputFallback is called in all cases

Every case where user supplied input ends up into the Date constructor, without
us knowing what would be the result, call createFromInputFallback so the
function can be deprecated, overwritten and replaced in future versions.

11 years agoMerge pull request #1602 from dittodhole/develop
Iskren Ivov Chernev [Thu, 10 Apr 2014 17:10:34 +0000 (10:10 -0700)] 
Merge pull request #1602 from dittodhole/develop

Fixes for German translation according to DIN 5008

@changelog
@section bugfix

11 years agoMerge pull request #1546 from kruyvanna/develop
Iskren Ivov Chernev [Thu, 10 Apr 2014 16:54:36 +0000 (09:54 -0700)] 
Merge pull request #1546 from kruyvanna/develop

Khmer: Fix Last Week and Ordinal

@changelog
@section bugfix
@description Updated khmer language last week and put no-suffix ordinals

11 years agoMerge pull request #1596 from ozon1234/develop
Iskren Ivov Chernev [Thu, 10 Apr 2014 16:47:32 +0000 (09:47 -0700)] 
Merge pull request #1596 from ozon1234/develop

Fixed suffix relative time for Russian

@changelog
@section bugfix
@description Fix relative time in Russian for 31 minutes.

11 years agofixes #1601 1602/head
Andreas Niedermair [Thu, 10 Apr 2014 08:23:56 +0000 (10:23 +0200)] 
fixes #1601

11 years agofixes #1601
Andreas Niedermair [Thu, 10 Apr 2014 08:20:13 +0000 (10:20 +0200)] 
fixes #1601

11 years agofix 1596/head
Alexey Kozlov [Wed, 9 Apr 2014 09:46:12 +0000 (02:46 -0700)] 
fix

11 years agotests
Alexey Kozlov [Wed, 9 Apr 2014 09:43:40 +0000 (02:43 -0700)] 
tests

11 years agoFixed suffix relative time for Russian
Alexey Kozlov [Tue, 8 Apr 2014 06:50:31 +0000 (23:50 -0700)] 
Fixed suffix relative time for Russian

When requesting a relative time with a suffix for Russian correct form is: "31 минуту назад" and "через 31 минуту"

11 years agoMerge pull request #1583 from meleyal/patch-1
Isaac Cambron [Mon, 7 Apr 2014 16:52:51 +0000 (12:52 -0400)] 
Merge pull request #1583 from meleyal/patch-1

@changelog
@section enhancements
@description Update es longDateFormats

11 years agoMerge pull request #1586 from andrei-cocorean/feature/more_quarter_support
Isaac Cambron [Mon, 7 Apr 2014 16:22:18 +0000 (12:22 -0400)] 
Merge pull request #1586 from andrei-cocorean/feature/more_quarter_support

@changelog
@section features
@description More quarter support (add/subtract quarters; startOf/endOf quarter)

11 years agoMerge pull request #1571 from vegvari/develop
Isaac Cambron [Sun, 6 Apr 2014 20:10:46 +0000 (16:10 -0400)] 
Merge pull request #1571 from vegvari/develop

hungarian language, meridiem added

11 years agoquarter in the normalize unit test 1586/head
Andrei Cocorean [Sun, 6 Apr 2014 18:03:18 +0000 (20:03 +0200)] 
quarter in the normalize unit test

11 years agoParse quarter from string
Andrei Cocorean [Sun, 6 Apr 2014 17:59:33 +0000 (19:59 +0200)] 
Parse quarter from string

11 years agoquarter setter
Andrei Cocorean [Sun, 6 Apr 2014 17:15:19 +0000 (19:15 +0200)] 
quarter setter

11 years agoMerge pull request #1588 from ichernev/fix-cjs-exporting
Isaac Cambron [Fri, 4 Apr 2014 17:44:17 +0000 (13:44 -0400)] 
Merge pull request #1588 from ichernev/fix-cjs-exporting

Revert "Add specific check for "require" in hasModule check"

11 years agoMerge pull request #1589 from ichernev/remove-node-global
Isaac Cambron [Fri, 4 Apr 2014 17:43:54 +0000 (13:43 -0400)] 
Merge pull request #1589 from ichernev/remove-node-global

Do not export a global in node.js

11 years agoMerge pull request #1590 from ichernev/early-amd-global
Isaac Cambron [Fri, 4 Apr 2014 17:42:37 +0000 (13:42 -0400)] 
Merge pull request #1590 from ichernev/early-amd-global

Set AMD global before module definition

11 years agoupdate tests 1583/head
William Meleyal [Fri, 4 Apr 2014 09:20:19 +0000 (11:20 +0200)] 
update tests

11 years agoMerge pull request #1573 from oerd/develop
Iskren Ivov Chernev [Fri, 4 Apr 2014 07:44:59 +0000 (07:44 +0000)] 
Merge pull request #1573 from oerd/develop

[FIX] Change some 'e' to 'ë' in Albanian.

11 years agoSet AMD global before module definition 1590/head
Iskren Chernev [Fri, 4 Apr 2014 07:10:52 +0000 (00:10 -0700)] 
Set AMD global before module definition

11 years agoDo not export a global in node.js 1589/head
Iskren Chernev [Fri, 4 Apr 2014 07:05:04 +0000 (00:05 -0700)] 
Do not export a global in node.js

11 years agoRevert "Add specific check for "require" in hasModule check (fixes bug when using... 1588/head
Iskren Chernev [Thu, 3 Apr 2014 21:18:56 +0000 (14:18 -0700)] 
Revert "Add specific check for "require" in hasModule check (fixes bug when using with QUnit)."

This reverts commit ed6a2d4e1f3e32abce6939ef451f0cd4f8c54a1b.
This was discussed in https://github.com/moment/moment/issues/1537#issuecomment-39505749

11 years agoadd/subtract quarters; startOf/endOf quarter
Andrei Cocorean [Thu, 3 Apr 2014 14:58:27 +0000 (16:58 +0200)] 
add/subtract quarters; startOf/endOf quarter

11 years agoUpdate es longDateFormats
meleyal [Thu, 3 Apr 2014 12:44:53 +0000 (14:44 +0200)] 
Update es longDateFormats

I think this is more correct Spanish, maybe a native speaker can confirm?

11 years agoMerge pull request #1580 from icambron/camelCase
Iskren Ivov Chernev [Thu, 3 Apr 2014 10:00:34 +0000 (10:00 +0000)] 
Merge pull request #1580 from icambron/camelCase

fixed embed_languages after camel case switch

11 years agofixed embed_languages 1580/head
Isaac Cambron [Thu, 3 Apr 2014 07:14:46 +0000 (03:14 -0400)] 
fixed embed_languages

11 years agoMerge pull request #1579 from icambron/camelCase
Iskren Ivov Chernev [Wed, 2 Apr 2014 22:25:37 +0000 (15:25 -0700)] 
Merge pull request #1579 from icambron/camelCase

Camel case everywhere

11 years agodon't break uglify 1579/head
Isaac Cambron [Wed, 2 Apr 2014 20:26:17 +0000 (16:26 -0400)] 
don't break uglify

11 years agocamelCase everywhere
Isaac Cambron [Wed, 2 Apr 2014 20:24:44 +0000 (16:24 -0400)] 
camelCase everywhere

11 years agoMerge pull request #1564 from ichernev/fix-zone-madness
Isaac Cambron [Wed, 2 Apr 2014 14:49:11 +0000 (10:49 -0400)] 
Merge pull request #1564 from ichernev/fix-zone-madness

@changelog
@section bugfix
@description Simplify zone handling

11 years agoadd ordinal test 1546/head
Kruy Vanna [Wed, 2 Apr 2014 08:02:09 +0000 (17:02 +0900)] 
add ordinal test

11 years agoMerge pull request #1545 from icambron/abstracted-year-parsing
Iskren Ivov Chernev [Wed, 2 Apr 2014 07:51:22 +0000 (00:51 -0700)] 
Merge pull request #1545 from icambron/abstracted-year-parsing

Allow customized two-digit-year parsing

11 years agoMerge pull request #1577 from ichernev/extract-date-constructor
Isaac Cambron [Wed, 2 Apr 2014 07:39:27 +0000 (03:39 -0400)] 
Merge pull request #1577 from ichernev/extract-date-constructor

Make sure no Date constructor is used in tests

11 years agoMerge pull request #1578 from ichernev/fix-iso-times
Isaac Cambron [Wed, 2 Apr 2014 07:36:00 +0000 (03:36 -0400)] 
Merge pull request #1578 from ichernev/fix-iso-times

@changelog
@section bugfix
@description Fix iso parsing with more than 3 subsecond digits

11 years agoFix iso parsing with more than 3 subsecond digits 1578/head
Iskren Chernev [Wed, 2 Apr 2014 07:22:44 +0000 (00:22 -0700)] 
Fix iso parsing with more than 3 subsecond digits

11 years agoMake sure no Date constructor is used in tests 1577/head
Iskren Chernev [Tue, 1 Apr 2014 04:13:30 +0000 (21:13 -0700)] 
Make sure no Date constructor is used in tests

11 years ago[FIX] Change some `e` to `ë` in Albanian. 1573/head
Oerd Cukalla [Tue, 1 Apr 2014 14:24:44 +0000 (16:24 +0200)] 
[FIX] Change some `e` to `ë` in Albanian.

Fixed some typos in `/lang/sq.js` and `/test/lang/sq.js`. Also,
trailing `ë` is often silent in Albanian, so it's easy to miss.

11 years agohungarian language, meridiem added 1571/head
Romeo Vegvari [Tue, 1 Apr 2014 09:39:38 +0000 (10:39 +0100)] 
hungarian language, meridiem added

11 years agofixing jshint errors 1545/head
Isaac Cambron [Mon, 31 Mar 2014 16:38:56 +0000 (12:38 -0400)] 
fixing jshint errors

11 years agoMake jshint happy 1564/head
Iskren Chernev [Sun, 30 Mar 2014 03:52:30 +0000 (20:52 -0700)] 
Make jshint happy

11 years agoFix startOf issues across DST with updateOffset
Iskren Chernev [Sat, 29 Mar 2014 17:17:50 +0000 (10:17 -0700)] 
Fix startOf issues across DST with updateOffset

11 years agoAdd logic in zone to handle impossible keepTime-s
Iskren Chernev [Sat, 29 Mar 2014 16:18:30 +0000 (09:18 -0700)] 
Add logic in zone to handle impossible keepTime-s

11 years agoFix addOrSubtract to properly handle updateOffset
Iskren Chernev [Thu, 27 Mar 2014 09:55:57 +0000 (02:55 -0700)] 
Fix addOrSubtract to properly handle updateOffset

11 years agoUse deprecate for global export deprecation
Iskren Chernev [Thu, 27 Mar 2014 09:01:34 +0000 (02:01 -0700)] 
Use deprecate for global export deprecation

It looks like this in the root Node.js scope is NOT the global scope. So
rename global -> global_scope and fall back to 'global' in case it exists.

11 years agoRefactored accessor methods
Iskren Chernev [Thu, 27 Mar 2014 08:39:28 +0000 (01:39 -0700)] 
Refactored accessor methods

11 years agoMerge pull request #1556 from 1ec5/patch-1
Isaac Cambron [Thu, 27 Mar 2014 17:13:03 +0000 (13:13 -0400)] 
Merge pull request #1556 from 1ec5/patch-1

@changelog
@section enhancement
@description Change Vietnamese language code to 'vi'

11 years agoVietnamese is vi, not vn 1556/head
Minh Nguyễn [Thu, 27 Mar 2014 09:33:12 +0000 (02:33 -0700)] 
Vietnamese is vi, not vn

11 years agoVietnamese is vi, not vn
Minh Nguyễn [Thu, 27 Mar 2014 09:32:40 +0000 (02:32 -0700)] 
Vietnamese is vi, not vn

11 years agoVietnamese is vi, not vn
Minh Nguyễn [Thu, 27 Mar 2014 09:24:42 +0000 (02:24 -0700)] 
Vietnamese is vi, not vn

11 years agoExport momentProperties for plugins
Iskren Chernev [Tue, 25 Mar 2014 07:53:40 +0000 (00:53 -0700)] 
Export momentProperties for plugins

11 years agoAdd newlines at end of km lang file and tests
Iskren Chernev [Tue, 25 Mar 2014 07:38:26 +0000 (00:38 -0700)] 
Add newlines at end of km lang file and tests

11 years agofix ordinal
Kruy Vanna [Mon, 24 Mar 2014 10:48:52 +0000 (19:48 +0900)] 
fix ordinal

11 years agoMerge branch 'develop' of https://github.com/moment/moment into develop
Kruy Vanna [Mon, 24 Mar 2014 09:59:04 +0000 (18:59 +0900)] 
Merge branch 'develop' of https://github.com/moment/moment into develop

* 'develop' of https://github.com/moment/moment:

11 years agofix last week
Kruy Vanna [Mon, 24 Mar 2014 09:58:36 +0000 (18:58 +0900)] 
fix last week

11 years agoMerge pull request #1544 from kruyvanna/develop
Isaac Cambron [Sat, 22 Mar 2014 21:27:44 +0000 (17:27 -0400)] 
Merge pull request #1544 from kruyvanna/develop

Add Khmer language (The Language of Cambodia)

11 years agoallowing customized year parsing
Isaac Cambron [Sat, 22 Mar 2014 21:21:07 +0000 (17:21 -0400)] 
allowing customized year parsing

11 years agoMerge branch 'develop' of github.com:kruyvanna/moment into develop 1544/head
Kruy Vanna [Fri, 21 Mar 2014 12:22:30 +0000 (21:22 +0900)] 
Merge branch 'develop' of github.com:kruyvanna/moment into develop

* 'develop' of github.com:kruyvanna/moment:

11 years agoMerge branch 'develop' of github.com:kruyvanna/moment into develop
Kruy Vanna [Fri, 21 Mar 2014 12:20:40 +0000 (21:20 +0900)] 
Merge branch 'develop' of github.com:kruyvanna/moment into develop

* 'develop' of github.com:kruyvanna/moment:
  revert min/langs.js and min/moment-with-langs.js from origin

11 years agoMerge branch 'develop' of github.com:kruyvanna/moment into develop
Kruy Vanna [Fri, 21 Mar 2014 12:20:40 +0000 (21:20 +0900)] 
Merge branch 'develop' of github.com:kruyvanna/moment into develop

* 'develop' of github.com:kruyvanna/moment:
  revert min/langs.js and min/moment-with-langs.js from origin

11 years agorevert min/langs.js and min/moment-with-langs.js min/moment.min.js from origin
Kruy Vanna [Fri, 21 Mar 2014 12:16:57 +0000 (21:16 +0900)] 
revert min/langs.js and min/moment-with-langs.js min/moment.min.js from origin

11 years agorevert min/langs.js and min/moment-with-langs.js from origin
Kruy Vanna [Fri, 21 Mar 2014 12:16:57 +0000 (21:16 +0900)] 
revert min/langs.js and min/moment-with-langs.js from origin

11 years agofix component.json
Kruy Vanna [Fri, 21 Mar 2014 12:13:43 +0000 (21:13 +0900)] 
fix component.json

11 years agocorrect a few seconds typo
Kruy Vanna [Fri, 21 Mar 2014 11:56:11 +0000 (20:56 +0900)] 
correct a few seconds typo

11 years agoall tests passed
Kruy Vanna [Fri, 21 Mar 2014 11:39:29 +0000 (20:39 +0900)] 
all tests passed

11 years agoinitial khmer version
Kruy Vanna [Tue, 18 Mar 2014 18:02:58 +0000 (03:02 +0900)] 
initial khmer version

11 years agoMerge pull request #1426 from JakubOnderka/develop
Isaac Cambron [Wed, 12 Mar 2014 16:43:50 +0000 (12:43 -0400)] 
Merge pull request #1426 from JakubOnderka/develop

@changelog
@section bugfix
@description Changed longDateFormat of LT a L to right format used in Czech language

11 years agoMerge pull request #1529 from ichernev/serbian-cyrillic
Isaac Cambron [Wed, 12 Mar 2014 16:42:12 +0000 (12:42 -0400)] 
Merge pull request #1529 from ichernev/serbian-cyrillic

@changelog
@section feature
@description Add serbian cyrillic language

11 years agoMerge pull request #1528 from ichernev/serbian-improvements
Isaac Cambron [Wed, 12 Mar 2014 16:41:30 +0000 (12:41 -0400)] 
Merge pull request #1528 from ichernev/serbian-improvements

@changelog
@section enhancement
@description Improve serbian latin translation

11 years agoAdd serbian cyrillic language 1529/head
Iskren Chernev [Wed, 12 Mar 2014 08:58:55 +0000 (01:58 -0700)] 
Add serbian cyrillic language

11 years agoImprove serbian latin translation 1528/head
Iskren Chernev [Wed, 12 Mar 2014 08:55:44 +0000 (01:55 -0700)] 
Improve serbian latin translation

11 years agoMerge pull request #1526 from ichernev/mechuwind-develop
Iskren Ivov Chernev [Wed, 12 Mar 2014 08:41:57 +0000 (01:41 -0700)] 
Merge pull request #1526 from ichernev/mechuwind-develop

Fixes to nn (rebased)

@changelog
@section bugfix
@description improvements to Norwegian language

11 years agoFix short date format in nn according to 39693d28c12cd 1526/head
Iskren Chernev [Wed, 12 Mar 2014 07:32:29 +0000 (00:32 -0700)] 
Fix short date format in nn according to 39693d28c12cd

11 years agoUpdate nn.js
mechuwind [Tue, 11 Feb 2014 12:26:51 +0000 (13:26 +0100)] 
Update nn.js

11 years agoUpdate nn.js
mechuwind [Tue, 11 Feb 2014 12:22:46 +0000 (13:22 +0100)] 
Update nn.js

Correcting some minor details

11 years agoUpdate nn.js
mechuwind [Tue, 11 Feb 2014 12:21:08 +0000 (13:21 +0100)] 
Update nn.js

Correcting some minor details

11 years agoMerge pull request #1527 from ichernev/fix-dependency-versions
Iskren Ivov Chernev [Wed, 12 Mar 2014 08:35:58 +0000 (01:35 -0700)] 
Merge pull request #1527 from ichernev/fix-dependency-versions

Remove specific versions from dev deps and try to use latest

11 years agoRemove specific versions from dev deps and try to use latest 1527/head
Iskren Chernev [Wed, 12 Mar 2014 08:32:29 +0000 (01:32 -0700)] 
Remove specific versions from dev deps and try to use latest

11 years agoMerge pull request #1480 from Mayho/grunt-tasks
Iskren Ivov Chernev [Wed, 12 Mar 2014 07:10:48 +0000 (00:10 -0700)] 
Merge pull request #1480 from Mayho/grunt-tasks

added load-grunt-tasks to gruntfile

11 years agotrying to fix build npm issue: use latest node
Isaac Cambron [Wed, 5 Mar 2014 14:53:44 +0000 (09:53 -0500)] 
trying to fix build npm issue: use latest node

11 years agoMerge pull request #1478 from jeverington/develop
Isaac Cambron [Wed, 5 Mar 2014 14:16:02 +0000 (09:16 -0500)] 
Merge pull request #1478 from jeverington/develop

Updated  Portuguese and Portuguese_Brazil to use lower-case month and day names

11 years agoMerge pull request #1499 from kperry42/feature/composer
Isaac Cambron [Wed, 5 Mar 2014 12:01:02 +0000 (07:01 -0500)] 
Merge pull request #1499 from kperry42/feature/composer

Properly configure component in composer.json

11 years agoAdded missing component-installer properties; fixed formatting for authors property. 1499/head
Kevin Perry [Thu, 27 Feb 2014 18:57:41 +0000 (13:57 -0500)] 
Added missing component-installer properties; fixed formatting for authors property.

11 years agoMerge pull request #1475 from gr2m/issue_1475_parse_do
Isaac Cambron [Sun, 23 Feb 2014 22:10:42 +0000 (17:10 -0500)] 
Merge pull request #1475 from gr2m/issue_1475_parse_do

add support to parse "Do"

11 years agoadd support to parse `Do` #1475 1475/head
Gregor Martynus [Tue, 11 Feb 2014 13:48:10 +0000 (14:48 +0100)] 
add support to parse `Do` #1475

```
moment('May 6th', 'MMMM Do').format('MMMM Do')
// before => May 1st
// after => May 6th
```

To assure that the patch is working as expected, a temporary
test file has been added. It can still be found at
https://gist.github.com/gr2m/3c56d1ff91bec49f547c

11 years agoadded load-grunt-tasks to gruntfile 1480/head
Mehul Patel [Tue, 11 Feb 2014 01:27:19 +0000 (17:27 -0800)] 
added load-grunt-tasks to gruntfile

11 years agoUpdated brazilian portuguese and portuguese tests 1478/head
Jamie Everington [Mon, 10 Feb 2014 11:10:59 +0000 (11:10 +0000)] 
Updated brazilian portuguese and portuguese tests

11 years agoUpdated Portuguese language to be all lowercase for months and days
Jamie Everington [Mon, 10 Feb 2014 10:24:27 +0000 (10:24 +0000)] 
Updated Portuguese language to be all lowercase for months and days

11 years agoMerge pull request #1467 from ichernev/bugfix/default-ignore-offset
Isaac Cambron [Thu, 6 Feb 2014 19:09:59 +0000 (14:09 -0500)] 
Merge pull request #1467 from ichernev/bugfix/default-ignore-offset

@changelog
@section bugfix
@description Default ignoreOffset = true for dates, months and years

11 years agoMerge pull request #1468 from ichernev/feature/allow-zone-skip-adjust
Isaac Cambron [Thu, 6 Feb 2014 19:08:47 +0000 (14:08 -0500)] 
Merge pull request #1468 from ichernev/feature/allow-zone-skip-adjust

@changelog
@section enhancement
@description zone setter can now skip adjusting the hour

11 years agozone setter can now skip adjusting the hour 1468/head
Iskren Chernev [Thu, 6 Feb 2014 18:48:02 +0000 (10:48 -0800)] 
zone setter can now skip adjusting the hour

When you change the zone you'd expect the time to remain the same, but if
you're doing something low-level you might want just the zone offset to change.

Add a second argument to zone that would allow the caller to disable adjusting
the hour when setting a zone.

11 years agoDefault ignoreOffset = true for dates, months and years 1467/head
Iskren Chernev [Thu, 6 Feb 2014 18:40:54 +0000 (10:40 -0800)] 
Default ignoreOffset = true for dates, months and years

When you do moment.date(5), you'd expect the time-of-day to remain the same
even across DST. This only affects users of moment-timezone

11 years agoMerge pull request #1419 from kroo/develop
Iskren Chernev [Thu, 6 Feb 2014 18:18:39 +0000 (10:18 -0800)] 
Merge pull request #1419 from kroo/develop

Pass updateOffset a flag to tell it whether to change the sub-day
units if adjusting the timezone. If you cross DST by day or larger than its
assumed you don't want to see offset change in the hour.

@changelog
@section bugfix
@description Better timezone support for manipulating moments