Ticket #671 (closed defect: fixed)
Date.prototype.convertToYYYYMMDDHHMMSSMMM generating spurious 0
| Reported by: | psd | Owned by: | psd |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.6 |
| Component: | core | Version: | |
| Severity: | undefined | Keywords: | date |
| Cc: |
Description
in reality the Date.prototype.convertToYYYYMMDDHHMMSSMMM function is actually convertToYYYYMMDDHHMMSSMMMM thanks to:
String.zeroPad(this.getUTCMilliseconds(),4);
I could almost live with:
String.zeroPad(this.getUTCMilliseconds(),3) + "0";
which would at least be "correct" and round-tripable with a convertFromYYYYMMDDHHMMSSMMM
Change History
Note: See
TracTickets for help on using
tickets.
