ericyd / gdrive-copy

Web app to copy a Google Drive folder
https://script.google.com/macros/s/AKfycbxbGNGajrxv-HbX2sVY2OTu7yj9VvxlOMOeQblZFuq7rYm7uyo/exec
MIT License
1.58k stars 342 forks source link

How to set timezone manually in your code?? #166

Open newbieh4cker opened 4 years ago

newbieh4cker commented 4 years ago

I would like to change timezone. but how??

newbieh4cker commented 4 years ago

i found every gmt string in code using grep -Ri "GMT-7" * and change the content from "GMT-7" to "GMT+4" <- it is my local timezone.

the result is weird.

time for normal message (like copy staus 'copied') was still using 'GMT-7' but time for log message ('due to google drive quota~~') was using 'GMT+4'

how could it happen??

newbieh4cker commented 4 years ago

changing 'timeZone' setting in 'appsscript.json' and 'dist/appsscript.json' doesn't help either

ericyd commented 4 years ago

I'm not sure, it's possible that it's pulling it from my account due to the fact that I'm the owner of the script. Sorry for the inconvenience