Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 2137

Show
Ignore:
Timestamp:
05/02/07 23:50:22 (2 years ago)
Author:
kris
Message:

changed the Posix code for Utc.bias()

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/util/time/Utc.d

    r2133 r2137  
    206206                { 
    207207                        tm t = void; 
    208                          
    209                         gmtime_r (86400, &t); 
     208                        time_t time = 86400; 
     209                        gmtime_r (&time, &t); 
    210210                        int i = mktime (&t); 
    211211                        return cast(Time) (Time.TicksPerSecond * (i - 86400));