I have my site configured to use one site-wide timezone, with no option for users to configure their own timezone. In this situation, it is meaningless (or at best not helpful) for there to be a "unpublish in this timezone" option, and the option should be omitted entirely.

Alternatively, and equivalently for my purposes, a checkbox to simply disable it would work.

I might be able to provide a patch, but I've already got to munge the releases for promoting/demoting instead, and commenting out the field in form_alter isn't a big deal.

CommentFileSizeAuthor
#1 scheduler.module_p154169.txt1.83 KBAjK

Comments

AjK’s picture

Status: Active » Needs review
StatusFileSize
new1.83 KB

Please test this patch. Basically, if the sit eadmin disables user configurable timezones (admin/settings/date-time) then the timezone selector widget is not displayed on the node-form and the value is taken from the system wide setting.

If this works for you please let me know an I will commit it. Thx.

AjK’s picture

Commited anyway despite lack of a review since this makes sense.

AjK’s picture

Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)