mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 17:06:16 +00:00
Merge pull request #6973 from markmckinnon/store-windows-install-date-as-gmt
store windows install date as gmt
This commit is contained in:
commit
0246b0add8
@ -631,7 +631,7 @@ class ExtractRegistry extends Extract {
|
||||
case "InstallDate": //NON-NLS
|
||||
if (value != null && !value.isEmpty()) {
|
||||
try {
|
||||
installtime = new SimpleDateFormat("EEE MMM d HH:mm:ss yyyy", US).parse(value).getTime();
|
||||
installtime = new SimpleDateFormat("EEE MMM d HH:mm:ss yyyyZ", US).parse(value+"+0000").getTime();
|
||||
String Tempdate = installtime.toString();
|
||||
installtime = Long.valueOf(Tempdate) / MS_IN_SEC;
|
||||
} catch (ParseException e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user