From ripley at stats.ox.ac.uk  Sun Nov  2 12:31:28 2003
From: ripley at stats.ox.ac.uk (Prof Brian D Ripley)
Date: Sun Nov  2 12:30:30 2003
Subject: [Rd] strptime (PR#4204)
In-Reply-To: <200309171513.h8HFDRJH005486@pubhealth.ku.dk>
Message-ID: <Pine.WNT.4.44.0311021118300.856-100000@petrel>

Did that time actually exist in your timezone?  It does in mine and it is
converted correctly, but I suspect it does not in yours.  According to my
version of Windows that hour does not exist in a US timezone due to the
change to DST.

In any case, you have not given sufficient information to reproduce this,
such as your locale.

Please either produce evidence for your claim or confirm that the error was
your own.  In the unlikely event that there is a bug it will be in Windows
and not in R.

On Wed, 17 Sep 2003 pliu3@ncsu.edu wrote:

> Full_Name: Peng Liu
> Version: 1.7.1
> OS: XP Home
> Submission from: (NULL) (128.109.14.2)
>
>
> > strptime(c("80040601"),format="%y%m%d%H")
> [1] "1980-04-06 01:00:00"
> > strptime(c("80040602"),format="%y%m%d%H")
> [1] "1980-04-06 01:00:00"
>
> Convert incorrectly.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] strptime (PR#4204)
Prof Brian D Ripley