https://kedro.org/ logo
#questions
Title
# questions
g

Guilherme Parreira

04/06/2023, 5:17 PM
Hi Everyone! Can we specify the timezone for kedro to save the files? I ask that because when we use catalog.save() it creates data in the default UTC timezone. Thanks!
d

Deepyaman Datta

04/06/2023, 5:20 PM
Not without modifying/patching framework code, but I suppose it's not that hard to do. You can monkeypatch the
generate_timestamp
function:
Copy code
<https://github.com/kedro-org/kedro/blob/be247baa768308aad4b9feac1d4d0fd0164caf78/kedro/io/core.py#L322-L330>
👍 1
d

datajoely

04/06/2023, 5:22 PM
I would also take a different approach, I would record the timezone offset you want rather than modify this