X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fgdate.c;h=670f7aa5fed6a3e68721891eed5b6ac752de98d1;hb=2a53b4d0e2c98a14aedf31e38f0ad1fb2e8fe26f;hp=9e16890de43849e751d5cb09b4d72d520a7ff611;hpb=42cf80780b4fbbe9063ed3d962bb13f341757b3f;p=platform%2Fupstream%2Fglib.git diff --git a/glib/gdate.c b/glib/gdate.c index 9e16890..670f7aa 100644 --- a/glib/gdate.c +++ b/glib/gdate.c @@ -161,7 +161,7 @@ * function. * * Instead, do the following: - * |[ + * |[ * time_t ttime; * GTime gtime; * @@ -1111,10 +1111,10 @@ g_date_prepare_to_parse (const gchar *str, * @str: string to parse * * Parses a user-inputted string @str, and try to figure out what date it - * represents, taking the current locale - * into account. If the string is successfully parsed, the date will be - * valid after the call. Otherwise, it will be invalid. You should check - * using g_date_valid() to see whether the parsing succeeded. + * represents, taking the [current locale][setlocale] into account. If the + * string is successfully parsed, the date will be valid after the call. + * Otherwise, it will be invalid. You should check using g_date_valid() + * to see whether the parsing succeeded. * * This function is not appropriate for file formats and the like; it * isn't very precise, and its exact behavior varies with the locale. @@ -1286,7 +1286,7 @@ g_date_set_parse (GDate *d, * the user's current timezone. * * To set the value of a date to the current day, you could write: - * |[ + * |[ * g_date_set_time_t (date, time (NULL)); * ]| * @@ -2424,7 +2424,7 @@ win32_strftime_helper (const GDate *d, * @date: valid #GDate * * Generates a printed representation of the date, in a - * locale-specific way. + * [locale][setlocale]-specific way. * Works just like the platform's C library strftime() function, * but only accepts date-related formats; time-related formats * give undefined results. Date must be valid. Unlike strftime()