timestamp

package
v0.0.0-...-b394286 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(timestamp string, late bool) (time.Time, error)

Parse recognizes a given timestamp and returns the right Time object or error. Proper formats: yyyy/mm/dd hh:mm:ss hh:mm:ss yyyy/mm/dd yyyy/mm/dd hh:mm:ss The late argument set to true cause adding "23:59:59" time when given timestamp is in format "yyyy/mm/dd" instead of "00:00:00"

Types

This section is empty.

Jump to

Keyboard shortcuts

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