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

Summary: Support JSON date
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: Html4jAssignee: Jaroslav Tulach <jtulach>
Status: NEW ---    
Severity: normal CC: maxnitribitt, tulach
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 248917    
Bug Blocks:    

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".