jamietr1 / google-docs-writing-tracker

Automation scripts to track writing in Google Docs
187 stars 39 forks source link

Method Session.getTimeZone is deprecated. #29

Closed lsolesen closed 9 years ago

lsolesen commented 9 years ago

I am getting this

Method Session.getTimeZone is deprecated.
File: Code Line: 12

When editing the script.

katychuang commented 9 years ago

Replacing var TIME_ZONE = Session.getTimeZone(); with var TIME_ZONE = Session.getScriptTimeZone(); worked for me.

lsolesen commented 9 years ago

Seems that this has been fixed in the newest version.