Skip to content
Snippets Groups Projects
Commit e47fbafc authored by Sidhesh Mhatre's avatar Sidhesh Mhatre
Browse files

Time zone parameter added to getDate()

parent 2ba62e44
Branches Fix_tests
No related tags found
No related merge requests found
...@@ -168,7 +168,7 @@ ProcessResult processFile(AbstractFile f) { ...@@ -168,7 +168,7 @@ ProcessResult processFile(AbstractFile f) {
logger.log(Level.INFO, "Error getting time zones", ex); //NON-NLS 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) { if (date != null) {
attributes.add(new BlackboardAttribute(ATTRIBUTE_TYPE.TSK_DATETIME_CREATED.getTypeID(), ExifParserModuleFactory.getModuleName(), date.getTime() / 1000)); attributes.add(new BlackboardAttribute(ATTRIBUTE_TYPE.TSK_DATETIME_CREATED.getTypeID(), ExifParserModuleFactory.getModuleName(), date.getTime() / 1000));
} }
...@@ -394,4 +394,4 @@ public void shutDown() { ...@@ -394,4 +394,4 @@ public void shutDown() {
} }
} }
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment