Re: [PATCH 3/7] time: Add Modem.Time introspection XML



On Mon, Jan 23, 2012 at 11:31, Aleksander Morgado <aleksander lanedo com> wrote:
>>> I'm not sure why we would include leap seconds info here. Leap seconds
>>> are adjustments to UTC itself, so if the time retrieved from
>>> GetNetworkTime() is always UTC, there is no need for that, as far as I
>>> can tell.
>>
>> I'm including it because one of our modems (the Gobi) exports it as
>> part of the timezone data from CDMA networks.  If you don't think it's
>> worth passing on, I can drop it.
>
> I can't think of a use case to need them. Unless the time reported by
> the modem is really TAI and you need to compute UTC yourself.

So it turns out CDMA network time does not include leap seconds.  I
will just leave that problem to the modem drivers, and let them add it
in before returning network time.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]