Skip to content

Commit

Permalink
feat: add more layouts for datetime parser
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwlin committed Feb 1, 2025
1 parent 65686c0 commit a3c7033
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/vercomp/vercomp.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ func NewComparator() *VersionComparator {
Layouts: []string{
time.RFC3339,
time.DateTime,
"2006-01-02 15:04:05.000",
"20060102150405",
},
},
},
Expand Down

0 comments on commit a3c7033

Please sign in to comment.