-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I'm using ZK 9 and seems that summer time (daylight) is active. When I read some date from database, ZK shows with difference of one day. Can I disable this function? The preferred timeZone is set to GMT-3 at zk.xml
can you provide which component you are using causing this issue? Also what information are you reading from your DB? GMT-3 is an offset-timezone unaware of any daylight savings.
So your code might just do the correct thing and your preferred timeZone is incorrectly set to an offset timezone, and should instead be a named timezone in the form of "America/Halifax" or similar (you forgot to mention your country's timezone).
Hard coding the offset is most likely wrong, even if your country doesn't have DST now, it might have had DST in the past or switch in the future. Causing trouble at past or future dates you are reading from your DB.
Asked: 2020-02-07 01:39:27 +0800
Seen: 9 times
Last updated: Feb 10 '20
Components below the fold are clickable when using modal window
Spring security login after server reload
ZK9 internationalization java.lang.IllegalStateException
Anybody know how add label inside menupopup grid?
How to change language from menupopup column of grid?
[Announcement] ZK 9.0.1 Freshly is ready for testing
How to close the Browser Window Tab using ZK framework? [closed]