mlevit / aws-auto-cleanup

Programmatically delete AWS resources based on an allowlist and time to live (TTL) settings
MIT License
496 stars 55 forks source link

How can the time zone for the execution log dates be changed? #83

Closed atqhg23 closed 2 years ago

atqhg23 commented 2 years ago

The date shown for the execution logs is currently in Coordinated Universal Time (UTC). I would like to change the time zone to Eastern Standard Time (EST).

mlevit commented 2 years ago

@mcueva10 which one specifically? Screenshot would help :)

atqhg23 commented 2 years ago

The execution log CSV file date. Attached screenshot, thanks exec-log-date

mlevit commented 2 years ago

Oh yeah, actually something I've tried before but couldn't get working. I was trying to get the browser's timezone and convert the date. Let me try something again and see if I can get it working.

atqhg23 commented 2 years ago

Ok thanks, I will also look into it

mlevit commented 2 years ago

@mcueva10 test https://github.com/servian/aws-auto-cleanup/tree/execution-date-local-time for me

atqhg23 commented 2 years ago

This is working, appreciate the help!