Registry / utility / btubbs-datetime

btubbs-datetime

JSON →
library0.1.1gogounverified

Provides a ParseTime function for parsing common ISO 8601 date/time formats into Go time.Time values.

go get github.com/btubbs/datetime
INSTALL
IMPORT
SIG · BTUBBS-DATETIME
B
btubbs-datetime
utilitygov0.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

datetime
github.com/btubbs/datetime

Parses an ISO 8601 datetime string into a time.Time.

package main import ( "fmt" "github.com/btubbs/datetime" ) func main() { t, err := datetime.Parse("2023-01-02T15:04:05Z", time.UTC) if err != nil { panic(err) } fmt.Println(t) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
btubbs-datetime — go get btubbs-datetime · libregistry