format

package
v0.0.0-...-c5feec6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Duration

func Duration(elapsed time.Duration) string

Returns the elapsed time duration as a string in the format "HH:MM:SS:MS"

func Icon

func Icon(t time.Time) string

Returns the icon for the clock based on the current time of day

func TimeAndDate

func TimeAndDate(t time.Time) string

Returns a formatted string of the current time and date

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL