Our users needs to export data (excel) from different timezones. The dates are UTC in database however they would like to have the data in their current timezone.
We are think about sending timezone via JWT or via header but not sure if there is a better way. Any ideas on what can be done to communicate user's timezone to backend?
If you are using Spring framework, you can easily get it by using org.springframework.web.servlet.support.RequestContextUtils.getTimeZone( httpServletRequest )
org.springframework.web.servlet.support.RequestContextUtils.getTimeZone( httpServletRequest )
1.4m articles
1.4m replys
5 comments
57.0k users