diff options
author | Jonathan Reams <jbreams@mongodb.com> | 2014-08-14 16:51:13 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2014-08-14 17:04:15 -0400 |
commit | ced73c084c0d391ca49b9b6aa271b6cea6636de0 (patch) | |
tree | 0f8fd5c9816fa3eec3d9897e38ef66719d16a0d9 | |
parent | 2c56cc550c8f3894e8631fd9862220352b255ab5 (diff) | |
download | mongo-ced73c084c0d391ca49b9b6aa271b6cea6636de0.tar.gz |
SERVER-14904 Change dates in exportimport_date.js to account for different timezones in host environment
Closes #746
Signed-off-by: Benety Goh <benety@mongodb.com>
-rw-r--r-- | jstests/tool/exportimport_date.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/tool/exportimport_date.js b/jstests/tool/exportimport_date.js index b9263e9e50e..57a860ca1a8 100644 --- a/jstests/tool/exportimport_date.js +++ b/jstests/tool/exportimport_date.js @@ -9,8 +9,8 @@ src.drop(); dst.drop(); // Insert a date that we can format -var formatable = ISODate("1970-01-01T05:00:00Z"); -assert.eq(formatable.valueOf(), 18000000); +var formatable = ISODate("1970-01-02T05:00:00Z"); +assert.eq(formatable.valueOf(), 104400000); src.insert({ "_id" : formatable }); // Insert a date that we cannot format as an ISODate string |