Google Apps Script can't change timezone in project properties

北城以北 提交于 2020-12-27 06:12:42

问题


I can't change the timezone in one of my scripts using File->Properties. I can in my other scripts, they have a dropdown for timezone. Any idea why?


回答1:


I'm not sure if this will help, but it might be worth a try:

  1. In the script editor go to View > Show project manifest.
  2. If you are the owner of the script, you should be able to edit the timezone in there.

I have no experience editing that particular parameter as I have never needed to do that. However, I presume that the field is there for the purpose of setting the timezone, so in theory, it should work. You might have to do some experimentation to see if changing it does indeed do what you need. Anyhow, here is the documentation for that file in case you need it:

General manifest documentation

Details of each field

I hope that helps.




回答2:


If it is not allowing you edit TIMEZONE in project properties, you can change it from the manifest file. In the script editor, Simply go to View > Show manifest file

Change timezone there and save it. Then refresh the file. Now check it out in the File > Project properities.



来源:https://stackoverflow.com/questions/62601989/google-apps-script-cant-change-timezone-in-project-properties

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!