Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatText ¶
func FormatText(ps *playerstate.PlayerState, s string) string
FormatText replaces placeholders in the given text.
func SetTimeZoneHours ¶ added in v1.3.303
func SetTimeZoneHours(h int)
SetTimeZoneHours overrides the current time zone.
Should be the time zone offset of Jan 1 this year, rounded DOWN (as in, floor) to whole hours.
Used on Android to get the time zone from Java code.
func TryFormatText ¶
func TryFormatText(ps *playerstate.PlayerState, s string) (string, error)
TryFormatText replaces placeholders in the given text.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.