package
0.0.11
Repository: https://github.com/ppacer/core.git
Documentation: pkg.go.dev

# Functions

CurrentTz returns currently configured, on package level, timezone.
Duration parses start and end using FromStringMust and calculate duration between start and end.
FromString tries to recreate time.Time based on given string value according to TimestampFormat format.
In most cases FromString should be called on strings created by ToString and should succeed.
Now return the current time in ppacer timezone.
No description provided by the author
SetTimezone sets package-level timezone.
ToDateUTCString move given time.Time to UTC location and serialize it to date string based on DateFormat format.
ToString serialize given time.Time to string based on TimestampFormat format.
ToStringUI serialize given time.Time to string based on Ui* formats.

# Constants

Date format for time.Time serialization and deserialization.
String identifier for local time zone in standard time package.
Timestamp format for time.Time serialization and deserialization.
Date format used on the UI.
As UiTimeFormat but including sub-second information.
Time format used on the UI.
Timestamp format used on the UI for non-today timestamps.