This issue applies to:
IDE: NetBeans/Eclipse/IDEA
Simulator
Device
I ran this code on the above platform
String src = "2017-06-13T10:59:19.037+0100 Africa/Lagos";
SimpleDateFormat DATEFORMAT = new
SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ zzz");
Date parse = DATEFORMAT.parse(src);
System.out.println(parse);
*Instead of getting Tue Jun 13 10:59:19 WAT 2017 I got Tue Jun 13 09:59:19
WAT 2017*
Africa/Lagos and WAT are in the same timezone
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/97e1f492-e839-4e50-9cee-9a5961180bd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.