diff options
author | Wez Furlong <wez@php.net> | 2004-07-19 13:39:57 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2004-07-19 13:39:57 +0000 |
commit | 8a8b20877cee9716dbd0edca33edb823b87b834d (patch) | |
tree | 9dee09e7bb9565dbe6b99b2457d6d58b10408d93 /ext/com_dotnet/com_variant.c | |
parent | e0f33c589fa590d28b24a69ffd78c06b7b0232fc (diff) | |
download | php-git-8a8b20877cee9716dbd0edca33edb823b87b834d.tar.gz |
Possible fix for #29258 (unverified)
win32 people, please test (I have no working win32 build env right now)
Diffstat (limited to 'ext/com_dotnet/com_variant.c')
-rw-r--r-- | ext/com_dotnet/com_variant.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/com_dotnet/com_variant.c b/ext/com_dotnet/com_variant.c index bf401f82e8..345591306a 100644 --- a/ext/com_dotnet/com_variant.c +++ b/ext/com_dotnet/com_variant.c @@ -799,7 +799,8 @@ PHP_FUNCTION(variant_date_from_timestamp) } VariantInit(&res); - tmv = gmtime(×tamp); + tzset(); + tmv = localtime(×tamp); memset(&systime, 0, sizeof(systime)); systime.wDay = tmv->tm_mday; |