Index: src/OFDate.h ================================================================== --- src/OFDate.h +++ src/OFDate.h @@ -273,10 +273,14 @@ /** * @brief Creates a string of the date with the specified format. * * See the man page for `strftime` for information on the format. + * + * @warning The format is currently limited to the following format specifiers: + * %%a, %%b, %%d, %%e, %%H, %%m, %%M, %%S, %%y, %%Y, %%z, %%, %%n and + * %%t. * * @param format The format for the date string * @return A new, autoreleased OFString * @throw OFInvalidFormatException The specified format is invalid */ @@ -284,10 +288,14 @@ /** * @brief Creates a string of the local date with the specified format. * * See the man page for `strftime` for information on the format. + * + * @warning The format is currently limited to the following format specifiers: + * %%a, %%b, %%d, %%e, %%H, %%m, %%M, %%S, %%y, %%Y, %%z, %%, %%n and + * %%t. * * @param format The format for the date string * @return A new, autoreleased OFString * @throw OFInvalidFormatException The specified format is invalid */