On 03/28/2018 10:44 AM, Steven Oliver wrote:
>
> On the other hand, though, if you throw in some kind of data structure
> besides your basic types (int, string, etc.) it completely fails.
https://developer.gnome.org/json-glib/stable/json-glib-Serializable-Interface.html#JsonSerializableIface
If
> On Wednesday, 28 March 2018, 18:03:44 BST, Fernando Silva
wrote: > I bet this could be decided based on locale
with gettext
Now, there's a challenge :)
Gettext is very good with plurals
(https://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html).I
I bet this could be decided based on locale with gettext
2018-03-28 9:00 GMT-03:00 :
> Send vala-list mailing list submissions to
> vala-list@gnome.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
On Wednesday, 28 March 2018, 11:50:33 BST, rastersoft
wrote: > Yes, but the problem is that, in Spain, we use the opposite format: we
write first the day's number, > then the month's name, and finally the year, so
I need to know if in my current locale I have > to "%B
Hi:
> Also, what
> I really want is the date in the format "March 5, 2018", not
"03/05/18",
> but it seems that only %c does that, but adds a lot of extra data
that I
> don't want like the time zone.
As Christian Hergert suggests, DateTime is very useful. This works for me:
void main () {
> On Wednesday, 28 March 2018, 11:15:48 BST, rastersoft
wrote: >> Pass "%x" for the format string.
> I used that, but the year is printed with only two digits... Also, what
> I really want is the date in the format "March 5, 2018", not "03/05/18",
> but it seems that
Hi:
Is it possible to print from a GLib.Date only the date, without the day
of week, neither the time, nor timezone?
Nearly a decade ago, I created GDateTime for GLib to give people a
modern API for dealing with these types of problems.
In fact I'm already using GDateTime, sorry. But I still
El 28/03/18 a las 02:46, Nor Jaidi Tuah escribió:
Is it possible to print from a GLib.Date only the date, without the
day
of week, neither the time, nor timezone?
https://valadoc.org/glib-2.0/GLib.Date.strftime.html
Pass "%x" for the format string.
I used that, but the year is printed with