datetime: Fix the format documentation
authorEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 25 Aug 2010 11:09:16 +0000 (12:09 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 25 Aug 2010 11:09:16 +0000 (12:09 +0100)
The %x format is for the preferred date, and the %X format is for the
preferred time.

glib/gdatetime.c

index 7cf5ab0..b9685b6 100644 (file)
@@ -1804,9 +1804,9 @@ g_date_time_new_now (void)
  * %%u  The day of the week as a decimal, range 1 to 7, Monday being 1.
  * %%W  The week number of the current year as a decimal number.
  * %%x  The preferred date representation for the current locale without
- *      the date.
- * %%X  The preferred date representation for the current locale without
  *      the time.
+ * %%X  The preferred date representation for the current locale without
+ *      the date.
  * %%y  The year as a decimal number without the century.
  * %%Y  The year as a decimal number including the century.
  * %%z  The timezone or name or abbreviation.