GLib.DateTime: problems with locale



Hello,

I am using Vala and GLib to output a date and time. But I am having problems with locales. My TZ it is 'Europe/Madrid' and locale 'es_ES.UTF-8' but when I try to output the date of a GDateTime with .format("%a %x") then I get the date in format yyyy/mm/dd instead dd/mm/yyy as is defined by the locale.

Any idea/solution?

Thanks


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