Re: Formatting dates according to the region



Dylan McCall wrote:
However, g_date_time_format(datetime, "%x") only returns a date
formatted in that last way. How can an application use other date
formats for the current region? Preferably without duplicating code,
or, at least, effort.

Look at the documentation for g_date_time_format(). You will find the
other format specifiers that you want. %a, %A, %b, %B, and %c look
helpful for you.



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