package
1.0.2
Repository: https://github.com/erlangs/okoo.git
Documentation: pkg.go.dev

# Functions

LoadLocation returns the Location with the given name.
Now returns the current date/time with UTC timezone.
ParseDate returns a date from the given string value that is formatted with the default YYYY-MM-DD format.
ParseDateTime returns a datetime from the given string value that is formatted with the default YYYY-MM-DD HH:MM:SSformat.
ParseDateTimeWithLayout returns a datetime from the given string value that is formatted with layout.
ParseDateWithLayout returns a date from the given string value that is formatted with layout.
TimeZones returns a list of all known time zones.
Today returns the current date.

# Constants

DefaultServerDateFormat is the Go layout for Date objects.
DefaultServerDateTimeFormat is the Go layout for DateTime objects.

# Variables

TimeZoneList is the list of all known time zones.

# Structs

Date type that JSON marshal and unmarshals as "YYYY-MM-DD".
DateTime type that JSON marshals and unmarshals as "YYYY-MM-DD HH:MM:SS".