[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Days shifts back after pressing a button  XML
Forum Index -> Development
Author Message
kklasen

Power User

Joined: 19/11/2020 08:33:30
Messages: 66
Offline


Hi here,
I use the CalanderField to pick up dates, when it uses the java/util/date it works find. But if I use the java/time/LocalDate, it always shifts a day back if I press a button.


Have it anything to do with local time? But UTC is only one Hour or two not a whole day.

thank you in advance

Kind regards

Klas
[Thumb - beforeButton 2022-04-26 135102.png]
 Filename beforeButton 2022-04-26 135102.png [Disk] Download
 Description befor I press the button
 Filesize 4 Kbytes
 Downloaded:  130 time(s)

[Thumb - afterButton 2022-04-26 135224.png]
 Filename afterButton 2022-04-26 135224.png [Disk] Download
 Description after I press the button
 Filesize 3 Kbytes
 Downloaded:  136 time(s)

kklasen

Power User

Joined: 19/11/2020 08:33:30
Messages: 66
Offline

hi again,

it looks like I found the solution! Now I know what do you mean with "local"!
I read it in the Demo.



Kind regards

Klas
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5519
Offline

;-)

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team