sleuthkit / autopsy

Autopsy® is a digital forensics platform and graphical interface to The Sleuth Kit® and other digital forensics tools. It can be used by law enforcement, military, and corporate examiners to investigate what happened on a computer. You can even use it to recover photos from your camera's memory card.
http://www.sleuthkit.org/autopsy/
2.35k stars 588 forks source link

Reporting: Date and time formatting. #975

Open BitSniffing opened 9 years ago

BitSniffing commented 9 years ago

Release: 3.1.0

Details: Could options be created that would allow different date / time formats on an HTML report page? Currently, the format is "yyyy/mm/dd hh:mm:ss" (in 24 hour format).

bcarrier commented 9 years ago

Probably. The method to add the feature to would be ReportHTML.dateToString. Though, it also seems that this module should be using the global Autopsy settings about what timezone to report things in. it is currently using local timezone. Another thing to change when someone jumps into that method.

ruchambapat commented 8 years ago

Suggestion- In ReportHTML.dateToString function, it can be added as a 12 hours format with java.text.SimpleDateFormat("yyyy/MM/dd "hh:mm a") where h - Hour in am/pm (1-12), m - Minute in hour, a - Am/pm markerUser can be provided with a choice to select the date and time format. I hope this suggestion is acceptable to you.