| Index: ui/file_manager/zip_archiver/js/volume.js
|
| diff --git a/ui/file_manager/zip_archiver/js/volume.js b/ui/file_manager/zip_archiver/js/volume.js
|
| index 64fae35b99c899c0f811796be69d745fee9bc7bd..53b2922e323d1a37ca0cc21dd675c3a6cea300a3 100644
|
| --- a/ui/file_manager/zip_archiver/js/volume.js
|
| +++ b/ui/file_manager/zip_archiver/js/volume.js
|
| @@ -6,11 +6,14 @@
|
|
|
| /**
|
| * Converts a c/c++ time_t variable to Date.
|
| + * The time we get from the archive is in local time.
|
| * @param {number} timestamp A c/c++ time_t variable.
|
| * @return {!Date}
|
| */
|
| function DateFromTimeT(timestamp) {
|
| - return new Date(1000 * timestamp);
|
| + var local = new Date(1000 * timestamp);
|
| + console.info(local.getHours())
|
| + return new Date( local.getTime() + (local.getTimezoneOffset() * 60000));
|
| }
|
|
|
| /**
|
|
|