Registry / utility / tebeka-strftime

tebeka-strftime

JSON →
library0.1.5gogounverified

A Go implementation of Python's strftime for formatting time with directives like %Y, %m, %d.

go get github.com/tebeka/strftime
INSTALL
IMPORT
SIG · TEBEKA-STRFTIME
T
tebeka-strftime
utilitygov0.1.5
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.

strftime
github.com/tebeka/strftime

Format time using strftime directives.

package main import ( "fmt" "time" "github.com/tebeka/strftime" ) func main() { result, err := strftime.Format("%Y/%m/%d", time.Now()) if err != nil { panic(err) } fmt.Println(result) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
tebeka-strftime — go get tebeka-strftime · libregistry