From 027d46bf65e332b70c40650b815ae3500440be74 Mon Sep 17 00:00:00 2001 From: Vilhelm Prytz Date: Thu, 30 May 2024 19:05:21 +0200 Subject: [PATCH] change fixed date --- testing/ntp-example-server/ntpserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/ntp-example-server/ntpserver.go b/testing/ntp-example-server/ntpserver.go index d4001be..31437f8 100644 --- a/testing/ntp-example-server/ntpserver.go +++ b/testing/ntp-example-server/ntpserver.go @@ -92,7 +92,7 @@ func main() { fmt.Println("NTP Server started on", port) - fixedDate := time.Date(2002, time.September, 11, 14, 14, 0, 0, time.UTC) + fixedDate := time.Date(2002, time.June, 23, 6, 30, 0, 0, time.UTC) fixedUnix := fixedDate.Unix() fixedNTP := (uint64(fixedUnix) + NTP_EPOCH_OFFSET) << 32 // Shift left to put into the upper 32 bits