Skip to content

Commit

Permalink
fixing model date
Browse files Browse the repository at this point in the history
  • Loading branch information
adderou authored Mar 6, 2020
1 parent 841154a commit e44658a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion signer/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func NewContext(config *ContextConfig, log *log.Logger) (ctx *Context, err error
}

if len(config.ExpDateStr) > 0 {
parsedDate, err := time.Parse("20160102", config.ExpDateStr)
parsedDate, err := time.Parse("20060102", config.ExpDateStr)
if err != nil {
return nil, fmt.Errorf("cannot parse expiration date: %s", err)
}
Expand Down

0 comments on commit e44658a

Please sign in to comment.