Bug in SimpleDateFormat

13 views
Skip to first unread message

Bryan J Buchanan

unread,
Nov 28, 2019, 10:08:01 PM11/28/19
to CodenameOne Discussions

which has an example date pattern "yyyy.MM.dd G 'at' HH:mm:ss z"

This barfs with the message:

[EDT] 0:0:0,1 - Exception: java.lang.IllegalArgumentException - Illegal pattern character: t

Doesn't seem to like the 'at'

Shai Almog

unread,
Nov 29, 2019, 11:49:24 PM11/29/19
to CodenameOne Discussions
It seems the class doesn't support quoting. You can file an issue about that and we'll look into it.
Reply all
Reply to author
Forward
0 new messages