Skip to content

Commit 369ba65

Browse files
committed
Use UTC time (by name).
This was crashing when I ran in the container.
1 parent ac345fe commit 369ba65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bridge/discord/discord.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ func (b *Bdiscord) Connect() error {
241241
b.c.AddHandler(b.messageEvent)
242242
}
243243

244-
tz, _ := time.LoadLocation("Europe/Prague")
244+
tz, _ := time.LoadLocation("UTC")
245245
now := time.Now().In(tz)
246246
b.c.UpdateCustomStatus("Last restarted: " + now.Format(time.ANSIC))
247247

0 commit comments

Comments
 (0)