Add support for "%V" and "%G" to wxDateTime::Format().

This is useful for creating ISO 8601 week number based stamps.

Closes #11857.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-08-03 12:47:36 +00:00
parent db65392b95
commit 29b68052bb
3 changed files with 147 additions and 7 deletions

View File

@@ -799,6 +799,10 @@ public:
function (http://www.cplusplus.com/reference/clibrary/ctime/strftime.html).
Please see its description for the meaning of @a format parameter.
Notice that POSIX @c "%g", @c "%G", @c "%V" and @c "%z" format
specifiers are supported even if the standard library doesn't support
them (e.g. MSVC).
It also accepts a few wxWidgets-specific extensions: you can optionally
specify the width of the field to follow using @c printf(3)-like syntax
and the format specification @c "%l" can be used to get the number of