Actions
Bug #2803
closedWt::asString() locale consistency issue with respect to WDate and WDateTime (possibly just a documentation issue)
Start date:
03/11/2014
Due date:
% Done:
0%
Estimated time:
Description
The documentation for Wt::asString() indicates that both Wdate and WDateTime default to a "dd/MM/yy" format (for the date). See: http://www.webtoolkit.eu/wt/doc/reference/html/group__modelview.html#ga57b5cadd177847f51eaeb0cee23782c1.
It appears that the documentation is accurate with respect to WDateTime, but that WDate will use the currentLocale.
Ideally, it seems that both should use the currentLocale, but that might pose an issue of backwards compatibility? See also: #1827.
A small test program that demonstrates the current behavior is attached.
Files
Updated by Koen Deforche over 9 years ago
- Status changed from New to InProgress
- Assignee set to Benoit Daccache
Updated by Benoit Daccache over 9 years ago
- Status changed from InProgress to Resolved
switched to current locale if not format provided in asString . This should be documented properly in RealeaseNotes
Updated by Koen Deforche about 9 years ago
- Status changed from Resolved to Closed
Actions