From: David Simons <12e.david@gmail.com> Date: Sun, 6 Dec 2015 13:00:38 +0000 (+0700) Subject: Remove now unused tz_hour variable X-Git-Tag: 2.11.0~14^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08cc66aa32bb2b0bb265536edbf3166424f22da7;p=thirdparty%2Fmoment.git Remove now unused tz_hour variable --- diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 000000000..5e0583e0d --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +moment \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 000000000..96cc43efa --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml new file mode 100644 index 000000000..e7bedf337 --- /dev/null +++ b/.idea/copyright/profiles_settings.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/.idea/jsLibraryMappings.xml b/.idea/jsLibraryMappings.xml new file mode 100644 index 000000000..a80d0d04f --- /dev/null +++ b/.idea/jsLibraryMappings.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/moment_node_modules.xml b/.idea/libraries/moment_node_modules.xml new file mode 100644 index 000000000..6ed0daf9f --- /dev/null +++ b/.idea/libraries/moment_node_modules.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 000000000..cd009b263 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + 1.8 + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 000000000..70ecc73d6 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/moment.iml b/.idea/moment.iml new file mode 100644 index 000000000..a579348e9 --- /dev/null +++ b/.idea/moment.iml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 000000000..35eb1ddfb --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 000000000..028fa6cb9 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,437 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1449404617266 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/test/moment/create.js b/src/test/moment/create.js index 9c58d7e6f..17ee70d15 100644 --- a/src/test/moment/create.js +++ b/src/test/moment/create.js @@ -426,7 +426,6 @@ test('parsing iso', function (assert) { tz = (offset >= 0) ? '+' + pad(hourOffset) + ':' + pad(minOffset) : '-' + pad(-hourOffset) + ':' + pad(-minOffset), - tz_hour = tz.slice(0, 4) + "00", tz2 = tz.replace(':', ''), tz3 = tz2.slice(0, 3), //Tz3 removes minutes digit so will break the tests when parsed if they all use the same minutes digit