Re: [Boost-bugs] [Boost C++ Libraries] #7525: Wrong clock_string<system_clock>::since() on Windows

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7525: Wrong clock_string<system_clock>::since() on Windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-20 16:19:50


#7525: Wrong clock_string<system_clock>::since() on Windows
-------------------------------+--------------------------------------------
  Reporter: oliora@… | Owner: viboes
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: chrono
   Version: Boost 1.51.0 | Severity: Cosmetic
Resolution: | Keywords: chrono system_clock windows
-------------------------------+--------------------------------------------

Comment (by viboes):

 There is an issue with gmtime on Windows when the time_t parameter is < 0.
 I have added an internal implementation for this function in Changeset
 [82562].

 Then I have made that system clock counts periods "since January 1, 1970,
 UTC" And activated the use of the internal gmtime function on windows in
 Changeset [82563].

 This should fix the issue for both Boost.Chrono versions, 1 or 2.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7525#comment:11>
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:11 UTC