[gstreamer-bugs] [Bug 594504] Need a GType of "Date AND Time AND Timezone"
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Sep 8 21:33:18 PDT 2009
http://bugzilla.gnome.org/show_bug.cgi?id=594504
--- Comment #11 from Sebastian Dröge <slomo at circular-chaos.org> 2009-09-09 04:33:12 UTC ---
(In reply to comment #10)
> ISO 8601 seems appropriate for this.
That doesn't handle DST separate from the timezone and Edward wanted that
(why?)
Also see my the last comment a few lines below, ISO 8601 would require to use a
string.
(In reply to comment #9)
> Why not use a GstClockTimeDiff against the Epoch and a timezone in some
> representation (string or enum)? That allows you to convert to anything, even
> other calendar systems (= generalized timezone).
>
> I think it's important to store the UTC timestamp directly, because whatever
> unified processing you do on it, it will probably be done on the UTC
> timestamp...
This will only allow about +-300 years from the epoch.
(In reply to comment #8)
> Why not just a G_TYPE_STRING and a suitable well-defined string format that
> contains all the information needed and is easy to parse?
Edward wanted to not require an additional allocation and store it directly
inside the GValue. Also, even if we define a string format, it still is uglier
to parse than some binary format.
--
Configure bugmail: http://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