[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug in date
From: |
Emily Lane |
Subject: |
bug in date |
Date: |
Fri, 10 Jul 2009 12:38:54 +1200 |
I seem to have come across an anomaly in the date function. It only seems to
happen for April 5th
e.g.
> date --date "20090405 24 hour" +%d
05
> date --date "20090405 24 hour" +%m
04
For any other day this correctly adds 24 hours to the date.
Thanks
EMily
Dr Emily Lane
NIWA
Taihoro Nukurangi
P.O. Box 8602, Riccarton
Christchurch, New Zealand 8440
Phone: +64 3 343-7856
Email: address@hidden
NIWA is the trading name of the National Institute of Water & Atmospheric
Research Ltd.
- bug in date,
Emily Lane <=