On Thursday 27 August 2009 12:07:09 Sebastian Krzyszkowiak wrote:
> And:
> > The Problem with a timestamp string is: what format does it have? In this
> > case we have to include the format defenition into the API. Then it's a
> > lot easier to use unix-timestamps they are easy to parse and compare...
>
> In my opinion we should use unix timestamps and that's what i'm
> implementing in my test apps.

Correct. Epoch(UTC) should be the native format on dbus API level, but 
remember to include a flag that indicates whether timestamps are always 
following local time or stick to the timezone they have been entered (which 
could be handy at times). UI can convert this to fancy things.

:M:


_______________________________________________
devel mailing list
devel@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/devel

Reply via email to