]>
git.ipfire.org Git - thirdparty/moment.git/log
Iskren Chernev [Tue, 4 Feb 2014 09:01:12 +0000 (01:01 -0800)]
Add weeksInYear and isoWeeksInYear
This implements #1289. I think the week and iso week stuff should go in
a separate calendar at some point.
Iskren Ivov Chernev [Tue, 4 Feb 2014 07:47:54 +0000 (23:47 -0800)]
Merge pull request #1268 from ericsaboia/develop
Fix hour format when longDateFormat is used with brazilian language
@changelog
@section bugfix
@description Add às between date and time in Brazilian Portuguese
Isaac Cambron [Mon, 3 Feb 2014 17:09:17 +0000 (09:09 -0800)]
Merge pull request #1457 from ichernev/bugfix/albanian-am-pm
@changelog
@section enhancements
@description Fix armenian meridiem #1233
Isaac Cambron [Mon, 3 Feb 2014 17:07:51 +0000 (09:07 -0800)]
Merge pull request #1458 from ichernev/bugfix/spanish-dot-dash
@changelog
@section enhancement
@description Better Spanish month abbreviations
Iskren Chernev [Mon, 3 Feb 2014 06:23:34 +0000 (22:23 -0800)]
Better Spanish months in special case
Fixes #1234. Properly format YYYY-MMM-DD expressions -- no dot in the month
name in this case.
Iskren Chernev [Mon, 3 Feb 2014 06:01:03 +0000 (22:01 -0800)]
Fix armenian meridiem #1233
Iskren Ivov Chernev [Sun, 2 Feb 2014 00:02:12 +0000 (16:02 -0800)]
Merge pull request #1444 from mmozuras/feature/fix_lt_nominative_weekday_detection
Fix lang/lt nominative weekday detection
Isaac Cambron [Tue, 28 Jan 2014 19:16:16 +0000 (11:16 -0800)]
Merge pull request #1447 from ichernev/bugfix/parse-zone-proxy
parseZone passes all arguments to moment
@changelog
@section bugfix
@description parseZone passes all of its arguments to the moment factory
Iskren Chernev [Tue, 28 Jan 2014 09:30:20 +0000 (01:30 -0800)]
parseZone passes all arguments to moment
moment.parseZone is just a shorthand for moment().parseZone(), so make sure
that all arguments passed to the static function end up in the moment factory
function.
Mindaugas Mozūras [Sat, 25 Jan 2014 17:22:18 +0000 (19:22 +0200)]
Fix lang/lt nominative weekday detection
Not actually using it in production, so only noticed because of:
https://github.com/moment/moment/pull/1424
Iskren Ivov Chernev [Fri, 24 Jan 2014 08:34:54 +0000 (00:34 -0800)]
Merge pull request #1441 from ichernev/bugfix/workaround-safari-madness
Workaround safari bug
@changelog
@section bugfix
@description Fix #1161 by detecting safari bug and skipping test
Iskren Chernev [Fri, 24 Jan 2014 08:29:56 +0000 (00:29 -0800)]
Workaround safari bug
13 March 2011 is not handled properly in Safari. Detect bug and exit
test early.
Iskren Chernev [Wed, 22 Jan 2014 09:26:21 +0000 (01:26 -0800)]
Bump version to 2.5.1
Iskren Ivov Chernev [Wed, 22 Jan 2014 08:56:18 +0000 (00:56 -0800)]
Merge pull request #1429 from thebestday/bugfix/chrome-v32
Change object construction to prevent Chrome v32 crashing.
@changelog
@section bugfix
Tate Johnson [Mon, 20 Jan 2014 04:59:09 +0000 (15:59 +1100)]
Change object construction to prevent Chrome v32 crashing.
Suspected JS execution optimizations in v32 is causing the browser to
throw "Aw, Snap".
See https://github.com/moment/moment/issues/1423
Iskren Ivov Chernev [Fri, 17 Jan 2014 18:39:47 +0000 (10:39 -0800)]
Merge pull request #1421 from BYK/patch-1
Don't use HTML entities in Welsh translations
@changelog
@section bugfix
@description remove html entities from welsh
Burak Yiğit Kaya [Thu, 16 Jan 2014 12:27:22 +0000 (14:27 +0200)]
Don't use HTML entities in Welsh translations
Since this is a JavaScript library, we may not always use the produced strings in HTML directly. This changes the HTML entity used for "à" in Welsh translations to, well, "à".
Iskren Chernev [Thu, 16 Jan 2014 20:43:23 +0000 (12:43 -0800)]
Add developer instructions in readme.md
Isaac Cambron [Tue, 14 Jan 2014 20:11:57 +0000 (12:11 -0800)]
Merge pull request #1418 from ichernev/bugfix/strict-parsing-non-padded-units
Improve non-padded strict tokens
Iskren Chernev [Tue, 14 Jan 2014 17:44:13 +0000 (09:44 -0800)]
Improve non-padded strict tokens
Isaac Cambron [Tue, 14 Jan 2014 17:33:22 +0000 (09:33 -0800)]
Merge pull request #1417 from ichernev/bugfix/cloning-weird-moments
Handle wrongly cloned moments
Iskren Chernev [Tue, 14 Jan 2014 17:18:53 +0000 (09:18 -0800)]
Make jshint happy
Iskren Chernev [Tue, 14 Jan 2014 17:17:44 +0000 (09:17 -0800)]
put _isAMomentObject in utc moments too
Iskren Chernev [Tue, 14 Jan 2014 07:16:24 +0000 (23:16 -0800)]
Add tests for weird moment clones
Iskren Chernev [Tue, 14 Jan 2014 07:04:15 +0000 (23:04 -0800)]
Refactor _pf handling
Iskren Chernev [Mon, 13 Jan 2014 01:44:02 +0000 (17:44 -0800)]
Properly clone moment objects, that were improperly cloned before
Iskren Ivov Chernev [Mon, 13 Jan 2014 00:27:13 +0000 (16:27 -0800)]
Merge pull request #1413 from askmike/patch-1
fixed broken link in changelog
Mike van Rossum [Sat, 11 Jan 2014 23:29:44 +0000 (00:29 +0100)]
fixed broken link in changelog
Iskren Chernev [Thu, 9 Jan 2014 18:54:02 +0000 (10:54 -0800)]
Fix 'iso? week year? formats' test, take 2
Iskren Chernev [Thu, 9 Jan 2014 18:17:51 +0000 (10:17 -0800)]
Fix 'iso week formats' test
Iskren Ivov Chernev [Thu, 9 Jan 2014 16:43:11 +0000 (08:43 -0800)]
Merge pull request #1398 from gregor-rayman/develop
Fix Arabic-like week number parsing
@changelog
@section bugfix
Iskren Ivov Chernev [Thu, 9 Jan 2014 16:39:34 +0000 (08:39 -0800)]
Merge pull request #1396 from mdxs/left_zero_fill_gggg
Add leftZeroFill to GGGG and gggg formats
@changelog
@section bugfix
@description Add leftZeroFill(4) to GGGG and gggg formats
Iskren Ivov Chernev [Thu, 9 Jan 2014 16:30:22 +0000 (08:30 -0800)]
Merge pull request #1394 from mdxs/add_iso_53_weeks_test
Testing for years with 53 weeks (in ISO)
Gregor Rayman [Tue, 7 Jan 2014 00:15:54 +0000 (01:15 +0100)]
Fix to Arabic week number parsing (Week starts on Saturday, 1st week is the week of January 1st
mdxs [Mon, 6 Jan 2014 13:38:30 +0000 (14:38 +0100)]
Added 3-digit years to tests for GGGG and gggg formats
mdxs [Mon, 6 Jan 2014 13:28:46 +0000 (14:28 +0100)]
Updated source link
mdxs [Mon, 6 Jan 2014 13:26:24 +0000 (14:26 +0100)]
Fixed typo in tests for week year formats
mdxs [Mon, 6 Jan 2014 13:23:19 +0000 (14:23 +0100)]
Expanded test for iso week formats to include W format
mdxs [Mon, 6 Jan 2014 13:20:26 +0000 (14:20 +0100)]
Added leftZeroFill to GGGG and gggg formats
mdxs [Mon, 6 Jan 2014 10:49:36 +0000 (11:49 +0100)]
Dropped a variable
mdxs [Mon, 6 Jan 2014 10:45:39 +0000 (11:45 +0100)]
Added test to count years in 400-year cycle with iso week 53
mdxs [Mon, 6 Jan 2014 10:23:40 +0000 (11:23 +0100)]
Added test for the 71 years in current 400-year cycle that have 53 weeks in ISO standard
Iskren Ivov Chernev [Sat, 4 Jan 2014 19:10:41 +0000 (11:10 -0800)]
Merge pull request #1392 from armendarabyan/develop
Armenian Language with tests
@changeset
@section languages
@description Armenian (hy-am)
Armen Darabyan [Sat, 4 Jan 2014 17:31:01 +0000 (21:31 +0400)]
jshint fix
Armen Darabyan [Sat, 4 Jan 2014 16:18:17 +0000 (20:18 +0400)]
refactor main lang file
Armen Darabyan [Sat, 4 Jan 2014 15:53:05 +0000 (19:53 +0400)]
refactor and fix weeks bug
Armen Darabyan [Sat, 4 Jan 2014 14:31:06 +0000 (18:31 +0400)]
changed comments of author and lang name
Armen Darabyan [Sat, 4 Jan 2014 14:27:58 +0000 (18:27 +0400)]
added first version of armenian language
Iskren Ivov Chernev [Tue, 31 Dec 2013 21:36:04 +0000 (13:36 -0800)]
Merge pull request #1373 from guigrpa/develop
Fixed Catalan translation (lowercase for months and days of the week)
@changelog
@section bugfix
@description Use lowercase for months and days in Catalan
Iskren Ivov Chernev [Tue, 31 Dec 2013 21:30:01 +0000 (13:30 -0800)]
Merge pull request #1391 from ichernev/tests/fix-prs
Fix PRs failing in travis
Iskren Chernev [Tue, 31 Dec 2013 20:50:34 +0000 (17:50 -0300)]
PRs now pass travis build, because they don't execute sauce tests
Iskren Chernev [Tue, 31 Dec 2013 20:36:30 +0000 (17:36 -0300)]
Ignore sauce credentials file, to avoid accidental commit
Isaac Cambron [Sun, 29 Dec 2013 10:47:49 +0000 (05:47 -0500)]
new keys for travis
Iskren Chernev [Sun, 29 Dec 2013 09:59:23 +0000 (01:59 -0800)]
Disable weekYear setter tests until issue is resolved
We can not have a broken build, we might miss a bigger problem, and weekYear
setting is not the most popular functionality anyway.
Iskren Ivov Chernev [Sun, 29 Dec 2013 09:49:07 +0000 (01:49 -0800)]
Merge pull request #1374 from ichernev/testing/sauce-labs-integration
Testing/sauce labs integration
@changelog
@section misc
@description Run tests on multiple browser/os combos via SauceLabs and Travis
Iskren Chernev [Sun, 29 Dec 2013 09:27:32 +0000 (01:27 -0800)]
Update sauce access key
Iskren Chernev [Sat, 28 Dec 2013 21:06:30 +0000 (13:06 -0800)]
Make jshint happy
Iskren Chernev [Fri, 27 Dec 2013 19:12:16 +0000 (20:12 +0100)]
Fix IE8 bug
Iskren Chernev [Fri, 27 Dec 2013 19:11:50 +0000 (20:11 +0100)]
Add test:server
Iskren Chernev [Fri, 27 Dec 2013 17:12:10 +0000 (18:12 +0100)]
Get rid of console.log in tests
Iskren Chernev [Fri, 27 Dec 2013 16:56:43 +0000 (17:56 +0100)]
Workaround for safari bug
Iskren Chernev [Fri, 27 Dec 2013 16:42:07 +0000 (17:42 +0100)]
Use dots reporter for sauce
Iskren Chernev [Fri, 27 Dec 2013 16:41:19 +0000 (17:41 +0100)]
Make firefox a separate karma launcher
Iskren Chernev [Fri, 27 Dec 2013 16:39:55 +0000 (17:39 +0100)]
.gitignore min/tests.js and sauce_connect.log
Iskren Chernev [Wed, 25 Dec 2013 20:42:33 +0000 (21:42 +0100)]
Don't lint auxiliary test fragments
Iskren Chernev [Wed, 25 Dec 2013 01:52:27 +0000 (02:52 +0100)]
Add missing karma launchers to package.json
Iskren Chernev [Wed, 25 Dec 2013 01:46:36 +0000 (02:46 +0100)]
Add Firefox to karma browsers
Iskren Chernev [Tue, 24 Dec 2013 16:46:48 +0000 (17:46 +0100)]
Add encrypted sauce-labs user/pass in .travis.yml
Iskren Chernev [Tue, 24 Dec 2013 16:45:59 +0000 (17:45 +0100)]
Add environment variables for sauce-labs in Grunt task
To use sauce testing from a dev machine please contact ichernev on github.
Iskren Chernev [Wed, 11 Dec 2013 08:50:02 +0000 (00:50 -0800)]
Use accumulated tests from global var in test/browser
Iskren Chernev [Mon, 9 Dec 2013 17:42:55 +0000 (09:42 -0800)]
Add concat:tests for use in browsers
Lachèze Alexandre [Sat, 7 Dec 2013 16:13:54 +0000 (17:13 +0100)]
grab grunt-karma@0.7.2 from npm
Lachèze Alexandre [Sun, 24 Nov 2013 16:49:21 +0000 (17:49 +0100)]
Add `test` task to tests tasks
Lachèze Alexandre [Sun, 24 Nov 2013 16:49:04 +0000 (17:49 +0100)]
`npm test` leads to `grunt test:node`
Lachèze Alexandre [Sun, 24 Nov 2013 16:47:27 +0000 (17:47 +0100)]
Make travis run the tests on saucelabs (TODO: fill secure tokens)
Lachèze Alexandre [Sun, 24 Nov 2013 15:45:55 +0000 (16:45 +0100)]
Add karma tests run on saucelabs
Lachèze Alexandre [Sat, 23 Nov 2013 18:33:15 +0000 (19:33 +0100)]
Add browser tests to test task
Lachèze Alexandre [Sat, 23 Nov 2013 18:31:01 +0000 (19:31 +0100)]
Add a karma task for Chrome
Iskren Chernev [Wed, 25 Dec 2013 20:31:26 +0000 (21:31 +0100)]
Make jshint happy
Iskren Chernev [Wed, 25 Dec 2013 01:48:08 +0000 (02:48 +0100)]
Remove forEach from test case
@changelog
@section tests
Iskren Chernev [Wed, 25 Dec 2013 01:47:44 +0000 (02:47 +0100)]
iso-date parsing now correctly handles long years
@changelog
@section bugfix
@description Properly handle long years introduced in toISOString when parsing
G. Grau [Wed, 25 Dec 2013 19:28:35 +0000 (20:28 +0100)]
Fixed Catalan translation (minor - lowercase instead of uppercase for months and days of the week)
Iskren Chernev [Tue, 24 Dec 2013 16:23:28 +0000 (17:23 +0100)]
Fix assert messages in toISOString
Iskren Chernev [Mon, 23 Dec 2013 21:07:08 +0000 (21:07 +0000)]
Merge branch 'develop'
Iskren Chernev [Mon, 23 Dec 2013 21:06:53 +0000 (21:06 +0000)]
Bump version to 2.5.0
Isaac Cambron [Mon, 23 Dec 2013 19:10:55 +0000 (11:10 -0800)]
Merge pull request #1371 from ichernev/bugfix/is-same-different-zones
Fix isSame for differently zoned moments
Iskren Chernev [Mon, 23 Dec 2013 11:06:33 +0000 (11:06 +0000)]
Use February for isSame tests, so new-year has happened in all timezones
Iskren Chernev [Mon, 23 Dec 2013 06:16:15 +0000 (22:16 -0800)]
Use makeAs in calendar too
Iskren Chernev [Mon, 23 Dec 2013 06:07:00 +0000 (22:07 -0800)]
Fix isSame for differently zoned moments
isSame uses startOf and then compares milliseconds, but this misses the case of
different zones across the moments. startOf('day') in one timezone is different
than the other, so it was never successful.
Isaac Cambron [Sun, 22 Dec 2013 22:59:03 +0000 (14:59 -0800)]
Merge pull request #1370 from ichernev/bugfix/proper-diff-timezone-correction
Bugfix/proper diff timezone correction
Iskren Ivov Chernev [Sat, 21 Dec 2013 03:21:58 +0000 (19:21 -0800)]
Merge pull request #1362 from jeeeyul/develop
Meridiem Parser support for Korean
Jeeeyul Lee [Sat, 21 Dec 2013 00:58:27 +0000 (09:58 +0900)]
Removed unecessary 'i' flag.
There is no capped letter in Korean.
Isaac Cambron [Fri, 20 Dec 2013 16:26:17 +0000 (08:26 -0800)]
Merge pull request #1364 from mc10/patch-1
Fix issue link in readme
Kevin Ji [Fri, 20 Dec 2013 01:40:51 +0000 (17:40 -0800)]
Fix issue link in readme
Jeeeyul [Thu, 19 Dec 2013 09:29:58 +0000 (18:29 +0900)]
Applied failed test result
Jeeeyul [Thu, 19 Dec 2013 09:23:24 +0000 (18:23 +0900)]
Apply coding convention
Jeeeyul [Thu, 19 Dec 2013 09:17:25 +0000 (18:17 +0900)]
A space is added to test code.
Jeeeyul [Thu, 19 Dec 2013 06:36:51 +0000 (15:36 +0900)]
Test case was added for Korean Meridiem Parser support.
Jeeeyul [Thu, 19 Dec 2013 05:55:56 +0000 (14:55 +0900)]
Add Merdiem Parse support for Korean Languages.
Isaac Cambron [Tue, 17 Dec 2013 18:06:48 +0000 (10:06 -0800)]
Merge pull request #1358 from pimterry/supportIsoMMTimezones
Support 2-digit HH timezones as valid ISO 8601 (fixes #1357)