[gstreamer-bugs] [Bug 628408] Use GDateTime that has been released

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Oct 11 14:21:10 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=628408
  GStreamer | gstreamer (core) | git

--- Comment #6 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2010-10-11 21:21:06 UTC ---
There are still 2 differences from our API to glib's.

1) They use a double to represent seconds + microseconds. We have 2 separate
fields in functions.

2) They use a string for representing a timezone (+0300 or America/Recife or
...) as they can parse tzdata. And for the timezone offset they use
microseconds resolution. We are using a double in hours resolution.

Item 1 is simple enough to update on our side.

For item 2 we could take our timezone handling to microseconds resolution too.
glib does it because their datetime math API is based on microseconds, so it
makes some sense. For us it doesn't make, but we get consistency with their
API.

What do you think?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list