Files
Umbraco-CMS/src/Umbraco.Web/PropertyEditors/DateTimePreValueEditor.cs

10 lines
474 B
C#

using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
internal class DateTimePreValueEditor : DatePreValueEditor
{
[PreValueField("offsetTime", "Offset time", "boolean", Description = "When enabled the time displayed will be offset with the server's timezone, this is useful for scenarios like scheduled publishing when an editor is in a different timezone than the hosted server")]
public bool OffsetTime { get; set; }
}
}