sleuthkit/sleuthkit — pull request #65 by williballenthin (2012-06-02 21:56:36+00:00)
Title: Improve handling of timezones provided to mactime

Modified mactime so as not to silently corrupt data if a bad timezone is provided.

Added an optional dependency of DateTime::Timezone to mactime, which allows us to get a list of supported timezones. This means we can enforce only supported timezones, and print nice lists to the user.

If DateTime::Timezone is not installed, then the behavior of timezone handling is not changed. A future commit may use heuristics to decide whether the provided timezone looks valid.