This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 249691 - Support JSON date
Summary: Support JSON date
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Html4j (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on: 248917
Blocks:
  Show dependency tree
 
Reported: 2015-01-08 10:05 UTC by Jaroslav Tulach
Modified: 2015-01-08 10:05 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2015-01-08 10:05:22 UTC
While JSON format does not use any special instances to represent date, there is a way to convert Data.toJSON and a way to parse it back in JavaScript based on ISO 8601. See http://stackoverflow.com/questions/10286204/the-right-json-date-format

There should be a way to obtain type-safe representation of date from HTML/Java interfaces.

Possibly related to issue 248917 which may define "convertors".