Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartOfDay ¶ added in v2.19.0
StartOfDay returns the first timestamp of the day of the input timestamp in its location.
func Time ¶
Time returns a time compatible with Postgres. Postgres only stores dates with microsecond precision. FIXME(dannyk): refactor all calls to Time() to expect the input time to be modified to UTC; there are currently a
few calls whose behavior would change subtly. See https://github.com/coder/coder/pull/14274#discussion_r1718427461
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.