|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-1230118 ] curl_getdate(), DST, and cookie expiration
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 29 Jun 2005 23:12:46 -0700
Bugs item #1230118, was opened at 2005-06-30 05:27
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
With the system clock properly configured to
The following demonstrates the problem:
#include <stdio.h>
int main()
::memcpy(&tmGMT, ::gmtime(&tNow), sizeof(tm));
time_t tCURL = ::curl_getdate(szGMT, NULL);
printf("Current time: %s\n", szGMT);
return 0;
-----------------------------------------------------------
Current time: Thu, 30-Jun-2005 03:02:14 GMT
-----------------------------------------------------------
Current time: Thu, 30-Jun-2005 03:02:28 GMT
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Message:
I'm puzzled.
Why is "automatic DST adjustment" ? Isn't that the thing
If so, how on earth can that affect the date functions like
libcurl is simply using mktime() and gmtime(). I don't see
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info