Ticket #2529743 (assigned enhancement)
Reporter Gabe Moothart |
Opened: 01/5/11 Last modified: 11/27/12 Status: assigned Type: enhancement |
Owner Satyen Desai |
Target Release: Priority: P3 (normal) |
|---|---|---|---|
| Summary: | Y.DataType.Date.parse should support the Microsoft Json format for dates | ||
| Description: | The Microsoft Json serializer serializes dates in a specific format: /Date(1198908717056)/ Where the number is a number of milliseconds since 1/1/1970 (which the Date constructor accepts). Microsoft developers who use YUI need to manually parse this into a proper js date. It would be much More info on the Microsoft json date format: |
||
| Type: | enhancement | Observed in Version: | development master |
| Component: | DataType-Date | Severity: | S3 (normal) |
| Assigned To: | Satyen Desai | Target Release: | |
| Location: | Priority: | P3 (normal) | |
| Tags: | Relates To: | ||
| Browsers: | N/A | ||
| URL: | |||
| Test Information: | |||
Change History
|
Posted: 01/5/11
|
|
Posted: 11/27/12
Assigning to Satyen so he can do something about it. I've looked at the patch and suggested a few modifications, but I think the idea's right. |
Here is a patch, complete with passing test:
https://github.com/gmoothart/yui3/commit/fd593260779d9f4ae33c1be2a12ac75ca741623e