[glib] datetime: Fix the format documentation



commit b4c0b958af875bcba830ee734cd50df30a88236a
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Wed Aug 25 12:09:16 2010 +0100

    datetime: Fix the format documentation
    
    The %x format is for the preferred date, and the %X format is for the
    preferred time.

 glib/gdatetime.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/gdatetime.c b/glib/gdatetime.c
index 7cf5ab0..b9685b6 100644
--- a/glib/gdatetime.c
+++ b/glib/gdatetime.c
@@ -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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]