[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8782: date command
From: |
Ruediger Meier |
Subject: |
bug#8782: date command |
Date: |
Fri, 3 Jun 2011 15:57:43 +0200 |
User-agent: |
KMail/1.9.10 |
On Friday 03 June 2011, Voelker, Bernhard wrote:
> so in the night where the DST transition takes place, imagine you get
> up to go to the toilet because you drank to much coffee the evening
> before ... right in the hour where DST transition happens:
> isn't there a `date`?
> Or the other way round: how many hours do you have to left to sleep
> until 8am?
>
> The situation with date sounds like there "is an hour once per year
> when no date exists", but this is not true.
There was no "2011-05-27 02:01:00" in Germany.
I am 100% sure nobody in Germany was on toilet on at this time.
At this date if you go at 01:59:00 and come back at 03:02:00 then you
where 3 minutes on toilet but you was not at 2:01:00 because this time
simply does not exist at this day.
This works as expected:
$ export TZ="Europe/Berlin"
$ date -d "2011-03-27 02:01:00"
date: invalid date `2011-03-27 02:01:00'
$ date -d "2011-03-26 02:01:00 tomorrow"
Sun Mar 27 03:01:00 CEST 2011
cu,
Rudi
- bug#8782: date command, (continued)
- bug#8782: date command, James Youngman, 2011/06/02
- bug#8782: date command, Jim Meyering, 2011/06/03
- bug#8782: date command, Voelker, Bernhard, 2011/06/03
- bug#8782: date command, Jim Meyering, 2011/06/03
- bug#8782: date command, Voelker, Bernhard, 2011/06/03
- bug#8782: date command, Paul Eggert, 2011/06/03
- bug#8782: date command, Jim Meyering, 2011/06/03
- bug#8782: date command, Voelker, Bernhard, 2011/06/03
- bug#8782: date command, Jim Meyering, 2011/06/03
- bug#8782: date command, Voelker, Bernhard, 2011/06/03
- bug#8782: date command,
Ruediger Meier <=
- bug#8782: date command, Ruediger Meier, 2011/06/03
bug#8782: date command, Bob Proulx, 2011/06/01