Hi Alex, Didn't act on it yet, being focused on some new features. My goal is to do something about it in 0.12.0rc2. Basically it would be a fix for who doesn't use an UTC clock on the system running pmacct. If there is general interest around this story, I'll remember to briefly post here about it the code is committed to the CVS.
Btw, i guess the outcome of that thread was a recommendation to run pmacct on a system which is set up for UTC. Maybe this should also be made slightly more visible - maybe inserted into the FAQS document. Cheers, Paolo On Mon, Aug 03, 2009 at 10:12:30AM +0300, alex wrote: > Hello Paolo, > Could you please tell about current state of this question. > > Alex > > >On 04/19/2009 01:00:48 PM, Paolo Lucente wrote: > >>Hi Alex, > >> > >>DST is not supported. Timezones are. The idea behind this was that a > >>backend application (like pmacct is) should ideally work only with UTC > >>(even if timezones are supported) and then front-ends should localize > >>the time as required. > > > >I don't understand where the conversion to local time is happening > >regarding this problem, but what makes sense to me is to collect > >timestamps in UTC, store them in UTC when storing them in a database, > >and let whatever's pulling the data out of the db present the data > >to the user in whatever fashion makes sense. Any other approach, > >i.e. working in local time or DST, makes working across time zones > >difficult, and computing intervals (in the case of DST) impossible. > >(Because when you look at a time during the hour when DST moves > >the clock back you don't know which hour you are in.) > > > >As, it seems, timezones are supported, then those that want > >to struggle with an approach other than the above can already > >do so because timezones account for DST. I don't know what > >it means to support timezones and not support DST so don't > >know what DST support would mean. I would think that > >all the support for timezones, DST, and the like is already > >in the localization facilities supplied by the OS and > >that's where it should stay. > > > >Karl <[email protected]> > > --- > ??????? ?????? ??? - http://pogoda.tut.by _______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
