Skip to content

Implementation of Splunk's relative time syntax in Go

Notifications You must be signed in to change notification settings

coccyx/timeparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timeparser

Build Status Go Report Card GoDoc

Go (golang) package for parsing time in Splunk's relative time syntax. See docs for format documentation, but here's some examples:

Time Description
-1m One minute ago
+30m 30 minutes from now
-4h@h Four hours ago, snapped to the hour
-1week@week+1day One week ago, snapped to Monday (1 day after Sunday, which is the default snap to)

For details, see the API documentation.

About

Implementation of Splunk's relative time syntax in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages