]>
git.ipfire.org Git - thirdparty/moment.git/log
Iskren Chernev [Tue, 17 Sep 2013 07:14:19 +0000 (00:14 -0700)]
Make jshint happy
Iskren Chernev [Mon, 16 Sep 2013 11:09:01 +0000 (04:09 -0700)]
Added more tests
Iskren Chernev [Mon, 16 Sep 2013 10:50:15 +0000 (03:50 -0700)]
Addressed @icambron remarks
Iskren Chernev [Sun, 14 Jul 2013 06:39:33 +0000 (23:39 -0700)]
Removed comments and added tests
Iskren Chernev [Mon, 24 Jun 2013 17:15:45 +0000 (10:15 -0700)]
Strict parsing now works. Add tests!
Iskren Chernev [Sat, 27 Apr 2013 06:54:15 +0000 (23:54 -0700)]
Added strict parsing
Isaac Cambron [Tue, 17 Sep 2013 06:22:32 +0000 (23:22 -0700)]
Merge pull request #1110 from arshaw/hotfix/2.2.1
UTC-mode .weekday() is incorrect
Adam Shaw [Tue, 17 Sep 2013 06:10:31 +0000 (23:10 -0700)]
simplify weekday-utc test
Adam Shaw [Tue, 17 Sep 2013 05:25:30 +0000 (22:25 -0700)]
test for utc-mode .weekday() being incorrect
Adam Shaw [Tue, 17 Sep 2013 05:24:57 +0000 (22:24 -0700)]
fix for utc-mode .weekday() being incorrect
Iskren Ivov Chernev [Tue, 17 Sep 2013 03:22:10 +0000 (20:22 -0700)]
Merge pull request #1106 from icambron/feature/parse-zone
adding parseZone()
Isaac Cambron [Tue, 17 Sep 2013 03:13:24 +0000 (23:13 -0400)]
adding parseZone()
Isaac Cambron [Tue, 17 Sep 2013 02:37:26 +0000 (19:37 -0700)]
Merge pull request #1099 from ichernev/feature/add-component-json-grunt-task
Added component grunt task to fill component.json with lang files
Iskren Ivov Chernev [Mon, 16 Sep 2013 19:14:07 +0000 (12:14 -0700)]
Merge pull request #1102 from Xotic750/expandFormat
Improved readability of expandFormat function
Iskren Ivov Chernev [Mon, 16 Sep 2013 19:11:24 +0000 (12:11 -0700)]
Merge pull request #1103 from Xotic750/dateFromObject
Improve dateFromObject to utilise the normalizedUnits method.
Iskren Ivov Chernev [Mon, 16 Sep 2013 19:10:14 +0000 (12:10 -0700)]
Merge pull request #1104 from Xotic750/clarityTildeTilde
Readability of TildeTilde
Xotic750 [Mon, 16 Sep 2013 17:03:13 +0000 (19:03 +0200)]
Changed naming to toInt any aligned code with latest pull
Xotic750 [Mon, 16 Sep 2013 16:07:00 +0000 (18:07 +0200)]
Readability of TildeTilde
Xotic750 [Mon, 16 Sep 2013 16:04:30 +0000 (18:04 +0200)]
Improved readability of expandFormat function
Xotic750 [Mon, 16 Sep 2013 16:02:34 +0000 (18:02 +0200)]
Improve dateFromObject to utilise the normalizedUnits method.
User object will now handle any acceptable capitalisation, aliasing or pluralisation.
Iskren Ivov Chernev [Mon, 16 Sep 2013 10:41:09 +0000 (03:41 -0700)]
Merge pull request #1094 from Timrael/more_precise_parsing
More precise parsing with an array of formats
Iskren Chernev [Mon, 16 Sep 2013 10:38:08 +0000 (03:38 -0700)]
Added component grunt task to fill component.json with lang files
Iskren Ivov Chernev [Mon, 16 Sep 2013 10:19:17 +0000 (03:19 -0700)]
Merge pull request #1091 from icambron/feature/fix-node-repl
Fix moment(new Date()) in Node REPL
Iskren Ivov Chernev [Mon, 16 Sep 2013 10:14:05 +0000 (03:14 -0700)]
Merge pull request #1056 from ichernev/bugfix/fix-chinese-ampm
Fixed wrong Chinese meridiem time
Iskren Chernev [Mon, 9 Sep 2013 00:03:42 +0000 (17:03 -0700)]
Chinese noon ends 12:30
Iskren Chernev [Sun, 8 Sep 2013 23:27:40 +0000 (16:27 -0700)]
Fixed wrong Chinese meridiem time
Better implementation for #865
Iskren Ivov Chernev [Mon, 16 Sep 2013 10:11:54 +0000 (03:11 -0700)]
Merge pull request #1089 from Xotic750/feature/noGlobal
Allow AMD module loader to set noGlobal in config to prevent moment poll...
Iskren Ivov Chernev [Mon, 16 Sep 2013 09:45:42 +0000 (02:45 -0700)]
Merge pull request #1092 from icambron/feature/fix-unpadded-datetimes
make iso parsing a bit stricter
Isaac Cambron [Mon, 16 Sep 2013 02:54:45 +0000 (19:54 -0700)]
Merge pull request #1093 from Oire/feature/nl-decapitalization
Decapitalizing yesterday/today/tomorrow in Dutch, fixes #919
Xotic750 [Sun, 15 Sep 2013 14:01:56 +0000 (16:01 +0200)]
Removed the cached Math variables that should have been in a different branch
Menelion Elensúle (Andre Polykanine) [Sun, 15 Sep 2013 11:31:30 +0000 (14:31 +0300)]
Decapitalizing yesterday/today/tomorrow in Dutch, fixes #919
Timur Kozmenko [Sun, 15 Sep 2013 11:10:04 +0000 (18:10 +0700)]
feat(#getParseRegexForToken): escape special RegExp characters to increase presicion of penalty calculation
Timur Kozmenko [Sun, 15 Sep 2013 09:59:28 +0000 (16:59 +0700)]
feat(parsing string): all unparsed substrings have influence on format penalty
Isaac Cambron [Sun, 15 Sep 2013 08:45:24 +0000 (04:45 -0400)]
make iso parsing a bit stricter
Isaac Cambron [Sun, 15 Sep 2013 08:06:30 +0000 (04:06 -0400)]
be smarter about deciding whether something is a date or not. fixes #1084
Iskren Ivov Chernev [Sun, 15 Sep 2013 04:36:36 +0000 (21:36 -0700)]
Merge pull request #1059 from ianwremmel/develop
Support constructing durations from timestamps that do not include seconds
Iskren Ivov Chernev [Sun, 15 Sep 2013 03:56:41 +0000 (20:56 -0700)]
Merge pull request #1086 from Xotic750/hotfix/unix-timestamp
Fix isValid for Unix timestamp parser
Xotic750 [Sun, 15 Sep 2013 00:13:48 +0000 (02:13 +0200)]
Allow AMD module loader to set noGlobal in config to prevent moment polluting the global space.
Option has to be set ny the user otherwise everything loads as previously.
Loader would now look like this to choose noGlobal
/*jslint maxerr: 50, indent: 4, browser: true */
(function (global, undef) {
"use strict";
var projectString = "myProject",
momentCDN = "//cdnjs.cloudflare.com/ajax/libs/moment.js/2.1.0/moment.min",
momentString = "moment";
(function (name, definition) {
if (global.module !== undef && global.module.exports) {
global.module.exports = definition(global.require(momentCDN));
} else if (typeof global.define === "function" && global.define.amd) {
var projectPaths = {};
projectPaths[momentString] = momentCDN;
global.require.config({
paths: projectPaths
});
global.define(name, [momentString], definition);
} else {
global[name] = definition(global.moment);
}
}(projectString, function (moment) {
delete global[momentString];
moment.fn.newFunction = function () {
// code
};
function MyFunction() {
// code
}
return {
"MyFunction": MyFunction,
"momentPrivate": moment
};
}));
}(this));
requirejs(["myProject"], function (myProject) {
"use strict";
console.log("Private", myProject.momentPrivate);
console.log("Global", window["moment"]);
});
Xotic750 [Sun, 15 Sep 2013 00:01:27 +0000 (02:01 +0200)]
Wrap empty string test in try catch
Xotic750 [Sat, 14 Sep 2013 23:56:38 +0000 (01:56 +0200)]
Removed comments that jshint failed on
Xotic750 [Sat, 14 Sep 2013 23:53:50 +0000 (01:53 +0200)]
jshint fixes
Xotic750 [Sat, 14 Sep 2013 23:50:29 +0000 (01:50 +0200)]
Add unit tests
Isaac Cambron [Sat, 14 Sep 2013 23:35:00 +0000 (16:35 -0700)]
Merge pull request #1087 from Xotic750/feature/normaliseUnits
Added feature to expose normalizeUnits
Isaac Cambron [Sat, 14 Sep 2013 23:08:23 +0000 (16:08 -0700)]
Merge pull request #974 from allaud/develop
Russian months recognition fixed
Xotic750 [Sat, 14 Sep 2013 23:08:20 +0000 (01:08 +0200)]
Unit tests
Xotic750 [Sat, 14 Sep 2013 23:04:36 +0000 (01:04 +0200)]
Added feature to expose normalizeUnits
Xotic750 [Sat, 14 Sep 2013 23:01:13 +0000 (01:01 +0200)]
Fix isValid for Unix timestamp parser
Isaac Cambron [Sat, 14 Sep 2013 21:13:43 +0000 (14:13 -0700)]
Merge pull request #1025 from mmozuras/feature/lt-lang
Add Lithuanian (lt) translation
Isaac Cambron [Sat, 14 Sep 2013 21:08:24 +0000 (14:08 -0700)]
Merge pull request #1037 from bangnk/develop
Add Vietnamese language
Isaac Cambron [Sat, 14 Sep 2013 19:22:00 +0000 (12:22 -0700)]
Merge pull request #1082 from Oire/feature/rus-ukr-short-weekdays
Corrected short weekdays in Russian and Ukrainian; see #999
Menelion Elensúle (Andre Polykanine) [Sat, 14 Sep 2013 11:10:41 +0000 (14:10 +0300)]
Corrected short weekdays in Russian and Ukrainian; see #999
Iskren Chernev [Sat, 14 Sep 2013 10:51:19 +0000 (03:51 -0700)]
Make jshint happy
Iskren Ivov Chernev [Sat, 14 Sep 2013 08:32:11 +0000 (01:32 -0700)]
Merge pull request #1080 from wyantb/fix-1071
Embed Language Tweaks
Iskren Chernev [Sat, 14 Sep 2013 07:52:29 +0000 (00:52 -0700)]
Fixed flaky min/max test
Brian Wyant [Sat, 14 Sep 2013 01:28:40 +0000 (21:28 -0400)]
Ignore customlang embedded files
Brian Wyant [Sat, 14 Sep 2013 01:24:26 +0000 (21:24 -0400)]
Fail build if languages aren't defined as UMD
Brian Wyant [Sat, 14 Sep 2013 01:21:33 +0000 (21:21 -0400)]
Fix #1071 - allows embedding only one language
Ian W. Remmel [Fri, 13 Sep 2013 23:18:59 +0000 (19:18 -0400)]
rerolled to modify `aspNetTimeSpanJsonRegex` rather than introduce a new regex pattern
Menelion Elensúle (Andre Polykanine) [Fri, 13 Sep 2013 18:41:15 +0000 (21:41 +0300)]
Merge remote-tracking branch 'main/develop' into develop
Menelion Elensúle (Andre Polykanine) [Fri, 13 Sep 2013 18:39:56 +0000 (21:39 +0300)]
Merge branch 'feature/rus-ukr-am-pm' into develop
Iskren Ivov Chernev [Fri, 13 Sep 2013 18:37:37 +0000 (11:37 -0700)]
Merge pull request #1072 from Oire/feature/rus-ukr-am-pm
Added AM/PM support for Russian and Ukrainian
Menelion Elensúle (Andre Polykanine) [Fri, 13 Sep 2013 18:08:41 +0000 (21:08 +0300)]
Simplifying code as requested by @ichernev
Menelion Elensúle (Andre Polykanine) [Thu, 12 Sep 2013 21:38:50 +0000 (00:38 +0300)]
Adding AM/PM support for Russian and Ukrainian
Ian Remmel [Thu, 12 Sep 2013 13:06:53 +0000 (09:06 -0400)]
added test to demonstrate <24 hours in addition to >24 hours
Ian Remmel [Thu, 12 Sep 2013 12:59:31 +0000 (08:59 -0400)]
fixed lint errors
Iskren Chernev [Thu, 12 Sep 2013 11:28:49 +0000 (04:28 -0700)]
Fixed typo in readme
Iskren Chernev [Thu, 12 Sep 2013 08:37:57 +0000 (01:37 -0700)]
Bumping version to 2.2.1
Iskren Chernev [Thu, 12 Sep 2013 08:35:51 +0000 (01:35 -0700)]
Updated authors/contributors lists
Iskren Chernev [Thu, 12 Sep 2013 08:15:50 +0000 (01:15 -0700)]
Fixed a bug in string_prototype test
Iskren Chernev [Wed, 11 Sep 2013 09:42:20 +0000 (02:42 -0700)]
Bumping version to 2.2.0
Iskren Chernev [Wed, 11 Sep 2013 09:28:38 +0000 (02:28 -0700)]
Fixed bug in creating moment with object
Tim Wood [Mon, 9 Sep 2013 21:49:34 +0000 (14:49 -0700)]
Use github.com/moment instead of github.com/timrwood repo
bangnk [Mon, 9 Sep 2013 15:26:23 +0000 (22:26 +0700)]
Delete min file
bangnk [Mon, 9 Sep 2013 15:24:53 +0000 (22:24 +0700)]
Merge branch 'develop' of https://github.com/moment/moment into develop
bangnk [Mon, 9 Sep 2013 15:24:46 +0000 (22:24 +0700)]
Add test file for vietnamese, fix some constants to be more meaningful in vietnamese
Anton Pleshivtsev [Mon, 9 Sep 2013 12:40:28 +0000 (19:40 +0700)]
fix(monthParse): fix exceptional case for russian month parsing
Ian Remmel [Mon, 9 Sep 2013 07:48:45 +0000 (21:48 -1000)]
Merge branch 'feature/24-hour-time' into develop
* feature/24-hour-time:
changed tests to test greater than 24 hour timestamps
converted to spaces
Added 24-hour time support.
Added tests for 24-hour time support.
Ian Remmel [Mon, 9 Sep 2013 07:48:31 +0000 (21:48 -1000)]
changed tests to test greater than 24 hour timestamps
Ian Remmel [Mon, 9 Sep 2013 07:45:31 +0000 (21:45 -1000)]
converted to spaces
Ian Remmel [Mon, 9 Sep 2013 07:44:47 +0000 (21:44 -1000)]
Added 24-hour time support.
Ian Remmel [Mon, 9 Sep 2013 07:44:12 +0000 (21:44 -1000)]
Added tests for 24-hour time support.
Iskren Ivov Chernev [Mon, 9 Sep 2013 07:38:14 +0000 (00:38 -0700)]
Merge pull request #1057 from wyantb/moment+langs
Allow creation of moment+langs.js
Iskren Chernev [Mon, 9 Sep 2013 07:36:22 +0000 (00:36 -0700)]
Make jshint happy
Iskren Chernev [Mon, 9 Sep 2013 07:34:37 +0000 (00:34 -0700)]
Convert lang/hr.js to UMD
Somehow missed this file in #1012
Brian Wyant [Mon, 9 Sep 2013 00:20:46 +0000 (20:20 -0400)]
Allow creation of moment+langs.js
moment+langs.js is a version of moment.js, prepackaged with all
languages.
Iskren Chernev [Sun, 8 Sep 2013 23:02:19 +0000 (16:02 -0700)]
Merge branch 'develop' of github.com:moment/moment into develop
Conflicts:
lang/da.js
lang/ru.js
Iskren Ivov Chernev [Sun, 8 Sep 2013 22:53:58 +0000 (15:53 -0700)]
Merge pull request #1051 from kvakulo/da-lang-fix
Fix da lang: Months and days should be lowercase
Iskren Ivov Chernev [Sun, 8 Sep 2013 22:53:13 +0000 (15:53 -0700)]
Merge pull request #1055 from icambron/create-with-object
create moments with objects
Iskren Ivov Chernev [Sun, 8 Sep 2013 18:23:09 +0000 (11:23 -0700)]
Merge pull request #942 from borodean/feature/lang-ru-months-abbr
Makes month abbreviations be able to case in Russian
Iskren Chernev [Sun, 8 Sep 2013 18:17:37 +0000 (11:17 -0700)]
Merge branch 'feature/umd-lang' into develop
Conflicts:
lang/nb.js
Iskren Chernev [Sun, 8 Sep 2013 18:00:44 +0000 (11:00 -0700)]
Fixed indentation
Iskren Ivov Chernev [Sun, 8 Sep 2013 17:59:09 +0000 (10:59 -0700)]
Merge pull request #1033 from GabrielHedges/develop
Made isPM function more compatible with IE8 Quirks Mode and IE7 Standard...
Iskren Ivov Chernev [Sun, 8 Sep 2013 17:56:14 +0000 (10:56 -0700)]
Merge pull request #1042 from igorlima/fixing-travis-ci-badges
Fixing travis ci badges
Isaac Cambron [Sat, 7 Sep 2013 23:03:17 +0000 (19:03 -0400)]
fixed jshint issues
Isaac Cambron [Sat, 7 Sep 2013 22:44:29 +0000 (18:44 -0400)]
create moments with objects
Regin Larsen [Thu, 5 Sep 2013 11:18:11 +0000 (13:18 +0200)]
Fix da lang: Months and days should be lowercase
Igor Lima [Tue, 3 Sep 2013 22:18:36 +0000 (19:18 -0300)]
Fixing travis ci badges
Tim Wood [Tue, 3 Sep 2013 20:33:42 +0000 (13:33 -0700)]
Merge pull request #1021 from icambron/hour-alignment-redux
Hour alignment redux
Tim Wood [Tue, 3 Sep 2013 18:41:09 +0000 (11:41 -0700)]
Merge pull request #1022 from sigurdga/develop
Updates to the norwegian bokmål translation
bangnk [Mon, 2 Sep 2013 07:55:03 +0000 (14:55 +0700)]
Add Vietnamese language