Skip to content

Commit 46f1511

Browse files
committed
Set default time zone to UTC
1 parent 0b6bfb6 commit 46f1511

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

IntegrationEngine.Model/CronTrigger.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ public class CronTrigger : IHasStringId, IIntegrationJobTrigger
77
public string Id { get; set; }
88
public string JobType { get; set; }
99
public string CronExpressionString { get; set; }
10-
public TimeZoneInfo TimeZone { get; set; }
10+
TimeZoneInfo _timeZone { get; set; }
11+
public TimeZoneInfo TimeZone { get { return _timeZone ?? TimeZoneInfo.Utc; } set { _timeZone = value; } }
1112
}
1213
}

0 commit comments

Comments
 (0)