From 0ef6ce06d56e56f73efff248001b149c81ecf661 Mon Sep 17 00:00:00 2001 From: Matt Johnson Date: Tue, 21 Oct 2014 21:41:09 -0700 Subject: [PATCH] Handle moment.utc(s) fallback Fixes #1983 --- moment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moment.js b/moment.js index 40ab6880b..a9e011927 100644 --- a/moment.js +++ b/moment.js @@ -1789,7 +1789,7 @@ 'release. Please refer to ' + 'https://github.com/moment/moment/issues/1407 for more info.', function (config) { - config._d = new Date(config._i); + config._d = new Date(config._i + (config._useUTC ? ' UTC' : '')); } ); -- 2.47.2