timefmt

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(t time.Time) []byte

formatTime formats time t with layout "2006-01-02 15:04:05.999999999-07:00"

func Parse

func Parse(s string, local *time.Location) (time.Time, error)

Parse is an specialized version of time.Parse that is optimized for the below two timestamps:

  • "2006-01-02 15:04:05.999999999-07:00"
  • "2006-01-02T15:04:05.999999999-07:00"

Types

This section is empty.

Jump to

Keyboard shortcuts

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