Google Apps脚本无法更改项目属性中的时区 [英] Google Apps Script can't change timezone in project properties

查看:63
本文介绍了Google Apps脚本无法更改项目属性中的时区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法使用File-> Properties在其中一个脚本中更改时区.我可以在其他脚本中添加一个时区下拉列表.知道为什么吗?

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?

推荐答案

我不确定这是否有帮助,但是可能值得尝试:

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

  1. 在脚本编辑器中,转到查看>显示项目清单.
  2. 如果您是脚本的所有者,则应该可以在其中编辑时区.

我没有编辑该特定参数的经验,因为我从来不需要这样做.但是,我认为存在该字段是为了设置时区,因此从理论上讲,它应该起作用.您可能需要做一些试验,看看更改是否确实可以满足您的需求.无论如何,以下是该文件的文档(如果需要):

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:

常规清单文件

每个字段的详细信息

我希望能帮上忙.

这篇关于Google Apps脚本无法更改项目属性中的时区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆