diff options
author | xuri <xuri.me@gmail.com> | 2021-07-29 00:03:57 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-07-29 00:03:57 +0800 |
commit | 7dbf88f221f278075d4ff9e153b21236d0826c33 (patch) | |
tree | 508e171a8702bb52f017239d1f210cad076c19c4 /styles.go | |
parent | e9ae9b45b20a5df7e3aa15afcfac83ecb13394c6 (diff) |
This closes #971, closes #972 and closes #974
- Escape XML character in the drop list
- Fix incorrect character count limit in the drop list
- Fix Excel time parse issue in some case
- Fix custom number format month parse issue in some case
- Fix corrupted file generated caused by concurrency adding pictures
Diffstat (limited to 'styles.go')
-rw-r--r-- | styles.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -996,6 +996,7 @@ func parseTime(v string, format string) string { {"mm", "01"}, {"am/pm", "pm"}, {"m/", "1/"}, + {"m", "1"}, {"%%%%", "January"}, {"&&&&", "Monday"}, } @@ -1005,6 +1006,7 @@ func parseTime(v string, format string) string { {"\\ ", " "}, {"\\.", "."}, {"\\", ""}, + {"\"", ""}, } // It is the presence of the "am/pm" indicator that determines if this is // a 12 hour or 24 hours time format, not the number of 'h' characters. |