Skip to content

Commit f620a05

Browse files
authored
Fix the time zone error for building on Ubuntu 24.04 machine. (#1232)
1 parent 5c0403b commit f620a05

File tree

1 file changed

+1
-1
lines changed
  • src/Extensions/NetDaemon.Extensions.Scheduling.Tests/Scheduling

1 file changed

+1
-1
lines changed

src/Extensions/NetDaemon.Extensions.Scheduling.Tests/Scheduling/CronTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public void ContinueAfterActionThrows()
9393
[Fact]
9494
public void TestCronLocalTime()
9595
{
96-
using (new FakeLocalTimeZone(TimeZoneInfo.FindSystemTimeZoneById("US/Eastern")))
96+
using (new FakeLocalTimeZone(TimeZoneInfo.FindSystemTimeZoneById("America/New_York")))
9797
{
9898
var count = 0;
9999
var sched = new TestScheduler();

0 commit comments

Comments
 (0)