def set_localized_date(self, timezone):
        try:
            tz = pytz.timezone(timezone)
        except pytz.UnknownTimeZoneError:
            tz = pytz.utc

        localized_utc = pytz.utc.localize(self["Creation Date"])
        self.data["Date"] = localized_utc.astimezone(tz)
Set the localized date (the "Date" key)
dataset/ETHPy150Open nathangrigg/dayone_export/dayone_export/__init__.py/Entry.set_localized_date