From e47fbafc52f8b05afd842bfb48b5b8e97aeecc86 Mon Sep 17 00:00:00 2001 From: Sidhesh Mhatre <sidhesh_mhatre2001@yahoo.com> Date: Fri, 28 Aug 2015 09:58:04 -0400 Subject: [PATCH] Time zone parameter added to getDate() --- .../autopsy/modules/exif/ExifParserFileIngestModule.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/modules/exif/ExifParserFileIngestModule.java b/Core/src/org/sleuthkit/autopsy/modules/exif/ExifParserFileIngestModule.java index ee9e3fa366..deb55fa2ab 100644 --- a/Core/src/org/sleuthkit/autopsy/modules/exif/ExifParserFileIngestModule.java +++ b/Core/src/org/sleuthkit/autopsy/modules/exif/ExifParserFileIngestModule.java @@ -168,7 +168,7 @@ ProcessResult processFile(AbstractFile f) { logger.log(Level.INFO, "Error getting time zones", ex); //NON-NLS } } - Date date = exifDir.getDate(ExifSubIFDDirectory.TAG_DATETIME_ORIGINAL); + Date date = exifDir.getDate(ExifSubIFDDirectory.TAG_DATETIME_ORIGINAL, timeZone); if (date != null) { attributes.add(new BlackboardAttribute(ATTRIBUTE_TYPE.TSK_DATETIME_CREATED.getTypeID(), ExifParserModuleFactory.getModuleName(), date.getTime() / 1000)); } @@ -394,4 +394,4 @@ public void shutDown() { } } } -} \ No newline at end of file +} -- GitLab