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:
Vadim Zeitlin
2002-09-05 23:33:42 +00:00
parent 40dd6c07aa
commit 59d04dff03

View File

@@ -1901,6 +1901,10 @@ wxString wxDateTime::Format(const wxChar *format, const TimeZone& tz) const
fmt = _T("%03d");
break;
case _T('w'): // week day as number has only one
fmt = _T("%d");
break;
default:
// it's either another valid format specifier in which case
// the format is "%02d" (for all the rest) or we have the