public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "eugene.kopyshev at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sources.redhat.com
Subject: [Bug libc/14606] lost 1h in gmtime, ctime extracted date
Date: Sat, 22 Sep 2012 10:09:00 -0000 [thread overview]
Message-ID: <bug-14606-131-Latqy4OfNS@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-14606-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14606
--- Comment #2 from Eugene Kopyshev <eugene.kopyshev at gmail dot com> 2012-09-22 10:09:10 UTC ---
Hi Andreas,
Right, but with tm.tm_isdst=0 it works for all "modern" dates and fails
somewhen before the 19xx. Changeover did not exist then?
57718800 Sun Oct 31 02:00:00 1971
57722400 Sun Oct 31 02:00:00 1971
With tm_isdst=-1 it does not work for any year. In case with http server
application is makes tricky to cover past dates... ok, nobody needs it,
hopefully.
Thanka s lot!
2012/9/22 schwab@linux-m68k.org <sourceware-bugzilla@sourceware.org>
>
> http://sourceware.org/bugzilla/show_bug.cgi?id=14606
>
> Andreas Schwab <schwab@linux-m68k.org> changed:
>
> What |Removed |Added
>
> ----------------------------------------------------------------------------
> Status|NEW |RESOLVED
> Resolution| |INVALID
>
> --- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> 2012-09-22
> 09:26:58 UTC ---
> The dates are in different time zones, crossing a DST changeover. See
> tm_isdst.
>
> --
> Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
next prev parent reply other threads:[~2012-09-22 10:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-22 8:55 [Bug libc/14606] New: " eugene.kopyshev at gmail dot com
2012-09-22 9:28 ` [Bug libc/14606] " schwab@linux-m68k.org
2012-09-22 10:09 ` eugene.kopyshev at gmail dot com [this message]
2014-06-17 4:23 ` fweimer at redhat dot com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-14606-131-Latqy4OfNS@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--cc=glibc-bugs@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).