fixed the width of the (week day as number) field, should be 1, not 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1901,6 +1901,10 @@ wxString wxDateTime::Format(const wxChar *format, const TimeZone& tz) const
|
|||||||
fmt = _T("%03d");
|
fmt = _T("%03d");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case _T('w'): // week day as number has only one
|
||||||
|
fmt = _T("%d");
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// it's either another valid format specifier in which case
|
// it's either another valid format specifier in which case
|
||||||
// the format is "%02d" (for all the rest) or we have the
|
// the format is "%02d" (for all the rest) or we have the
|
||||||
|
Reference in New Issue
Block a user