Skip to content

Commit

Permalink
Add parsing support for 2006-01-02 15:04:05-0700 MST format
Browse files Browse the repository at this point in the history
  • Loading branch information
gouguoyin committed Apr 9, 2024
1 parent 4d07ee5 commit 3a3a6f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ var layouts = []string{
"2006-1", "2006-1-2", "2006-1-2 15", "2006-1-2 15:4", "2006-1-2 15:4:5", "2006-1-2 15:4:5.999999999",
"2006.1", "2006.1.2", "2006.1.2 15", "2006.1.2 15:4", "2006.1.2 15:4:5", "2006.1.2 15:4:5.999999999",
"2006/1", "2006/1/2", "2006/1/2 15", "2006/1/2 15:4", "2006/1/2 15:4:5", "2006/1/2 15:4:5.999999999",
"2006-01-02 15:04:05 -0700 MST",
"2006-01-02 15:04:05PM MST", "2006-01-02 15:04:05.999999999PM MST", "2006-1-2 15:4:5PM MST", "2006-1-2 15:4:5.999999999PM MST",
"2006-01-02 15:04:05 PM MST", "2006-01-02 15:04:05.999999999 PM MST", "2006-1-2 15:4:5 PM MST", "2006-1-2 15:4:5.999999999 PM MST",
"1/2/2006", "1/2/2006 15", "1/2/2006 15:4", "1/2/2006 15:4:5", "1/2/2006 15:4:5.999999999",
Expand Down

0 comments on commit 3a3a6f2

Please sign in to comment.