Skip to content

Commit

Permalink
Add apache/apache-error time formats
Browse files Browse the repository at this point in the history
  • Loading branch information
mingrammer committed May 7, 2019
1 parent 9080b3f commit ab5a2e5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions time.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package main

// Custom predefined layouts
const (
RFC3164 = "Jan 02 15:04:05"
RFC5424 = "2006-01-02T15:04:05.000Z"
Apache = "02/01/2006:15:04:05 -0700"
ApacheError = "Mon Jan 02 15:04:05 2006"
RFC3164 = "Jan 02 15:04:05"
RFC5424 = "2006-01-02T15:04:05.000Z"
)

0 comments on commit ab5a2e5

Please sign in to comment.