RhostMUSH / trunk

RhostMUSH 4.0: This is the official main repository of RhostMUSH. Visit us at rhostdev.mushpark.com 4201
23 stars 21 forks source link

secstz() error with PST but not EST #189

Closed thenomain closed 10 months ago

thenomain commented 10 months ago

I get a timezone error in secstz() with PST but not EST:

> think secstz(PST)

Warning: invalid timezone PST
1704165721

> think secstz(EST)

1704147721

CST also gives this error. MST does not. Seems to be involved in how the game looks up timezones.

Tested on RhostDevMUSH. RhostMUSH version 4.2.2-103 RL(A) #228 [12/26/2023] Build date: Wed, 27 Dec 2023 07:26:26 +0000

Related!

@admin timezone=PST
Invalid TIMEZONE specified (618 loaded): PST
Failure.
thenomain commented 10 months ago

Note: This issue is due to the hard server knowing "EST" but not "PST".

The core server typically stores this information in /usr/share/zoneinfo as a standard, btw. Neat!

Closing.