[gstreamer-bugs] [Bug 594504] Need a GType of "Date AND Time AND Timezone"

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Sep 9 02:29:52 PDT 2009


http://bugzilla.gnome.org/show_bug.cgi?id=594504



--- Comment #13 from Edward Hervey <bilboed at gmail.com> 2009-09-09 09:29:46 UTC ---
> That doesn't handle DST separate from the timezone and Edward wanted that
> (why?)

  Because 12:00 at GMT (!DST) does not represent the same moment in time as
6:00 GMT-6 (DST). Different countries changed DST at different times. And some
countries don't at all.

  Real case example :
   Plenty of people from around the world come to a certain conference. Some
will set their clock properly, some others not. People take plenty of
photos/videos, and at the end of the conference you grab them all because you
want to make a nice edit.
   Now there's one scene which many people took (like Linus shaving bdale's
beard) from many different angles. You want to be able to figure out really
quickly which photos/videos happen at the same time. If you have the *exact*
time for everything... you can do it easily... else you'll have to find it
yourself.


> Strings

  NO NO NO NO NO and NO ! Strings are for human beings and are a serious PITA
to parse ! The whole point of this type is to have a numerical type to store
all this info which have a clearly defined meaning.
  One use case I have in mind for this type are original recording date/time
for videos/photos, which are repeated often. String parsing is expensive and
more prone to errors than numbers.

  That being said... we can very easily have converters to/from some string
representations (like ISO 8601).

-- 
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