Mark Struberg created JOHNZON-399:
-------------------------------------

             Summary: JsonbLocalDateConverter should also read javascript date 
format
                 Key: JOHNZON-399
                 URL: https://issues.apache.org/jira/browse/JOHNZON-399
             Project: Johnzon
          Issue Type: Improvement
          Components: JSON-B
    Affects Versions: 1.2.21
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: 1.2.22, 2.0.0


Javascript's date is very similar to java.util.Date - it does not only contain 
the date but also a time portion. The format is 
{code:java}
YYYY-MM-DDTHH:mm:ss.sssZ{code}
When using e.g. a datepicker and send it via JSON in JavaScript the time 
portion is set to 00:00:00.000. But this leads to a date format exception in 
our {code}JsonbLocalDateConverter{code}.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to