Re: [Boost-bugs] [Boost C++ Libraries] #3312: boost::asio::deadline_timer.expires_from_now() ignores local time

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3312: boost::asio::deadline_timer.expires_from_now() ignores local time
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-01-12 22:38:16


#3312: boost::asio::deadline_timer.expires_from_now() ignores local time
------------------------------------------+---------------------------------
  Reporter: victor.v.lukashov@… | Owner: chris_kohlhoff
      Type: Bugs | Status: closed
 Milestone: Boost 1.40.0 | Component: asio
   Version: Boost 1.39.0 | Severity: Problem
Resolution: invalid | Keywords:
------------------------------------------+---------------------------------
Changes (by chris_kohlhoff):

  * status: new => closed
  * resolution: => invalid

Comment:

 The deadline_timer typedef is based on a UTC clock, and all operations
 (expires_at, expires_from_now) work in UTC time. If you want it to use a
 different clock (such as the local time clock), you can use
 basic_deadline_timer<> with your own traits class. Please see the "Timers"
 example.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3312#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC