Changeset 767

Show
Ignore:
Timestamp:
01/20/06 15:47:08 (3 years ago)
Author:
kris
Message:

Fixed the timezone issue on linux

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/mango/sys/Epoch.d

    r609 r767  
    482482        version (Posix) 
    483483        { 
    484                 // these are exposed via an external library 
    485                 extern static int timezone; 
    486                 extern static int daylight; 
     484                // these are exposed via std.c.time 
     485                //extern (C) int timezone; 
     486                //extern (C) int daylight; 
    487487 
    488488                private static Object lock; 
     
    543543                { 
    544544                        // this may need to be negated? 
    545                         return timezone / 60; 
     545                        return -timezone / 60; 
    546546                } 
    547547        }