* This is not the ISO 8601 standard format -- use %%u instead.
* </simpara></listitem></varlistentry>
* <varlistentry><term>
- * <literal>%%W</literal>:
- * </term><listitem><simpara>
- * the week number of the current year as a decimal number
- * </simpara></listitem></varlistentry>
- * <varlistentry><term>
* <literal>%%x</literal>:
* </term><listitem><simpara>
* the preferred date representation for the current locale without
g_string_append_printf (outstr, fmt, day_of_week);
}
break;
- case 'W':
- get_numeric_format (fmt, sizeof(fmt), alt_digits, '0', 2);
- g_string_append_printf (outstr, fmt, g_date_time_get_day_of_year (datetime) / 7);
- break;
case 'x':
{
tmp = g_date_time_format (datetime, PREFERRED_DATE_FMT);
//TEST_PRINTF ("%s", t_str);
TEST_PRINTF ("%S", "00");
TEST_PRINTF ("%t", " ");
- TEST_PRINTF ("%W", "42");
TEST_PRINTF ("%u", "6");
TEST_PRINTF ("%x", "10/24/09");
TEST_PRINTF ("%X", "00:00:00");