Skip to content

Commit

Permalink
fix: type matching priority
Browse files Browse the repository at this point in the history
  • Loading branch information
ShuheiKubota committed Dec 25, 2022
1 parent 4874776 commit f0dbb55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (c globalCmd) makeOutputContext(xlsxfile *excelize.File, overwriting bool)
timePtns: translateTimePatterns(c.TimeFmt),
}

hintRE := regexp.MustCompile(`(text|number|date|time|datetime|bool)(?:\((.+)\))?`)
hintRE := regexp.MustCompile(`(text|number|datetime|date|time|bool)(?:\((.+)\))?`)
for k, v := range c.Columns {
subs := hintRE.FindStringSubmatch(v)
if subs == nil {
Expand Down

0 comments on commit f0dbb55

Please sign in to comment.