-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
希望为DateTimeFormat增加时区参数 #841
Comments
我感觉只要对 我现在自己的做法是增加一个自定义的 然后覆盖了原来处理的Date的Converter。 EasyExcel.write(file, Birthday.class)
.registerConverter(new TimeZoneStringConverter("US/Central"))
.sheet("birthday").doWrite(birthdayList); |
后续考虑加入 |
也遇到这种问题了 |
application填写这个方法就可以了 |
这个建议设置全局默认时间即可 |
请问一下如何设置全局默认时间呢? |
建议描述
对于时间的处理,处理需要时间格式,同时还需要时区的设置。服务器的位置不一定都在中国,也可能在国外,不同的时区。如果不指定时区,必定会导致输出的数据不正确。
The text was updated successfully, but these errors were encountered: