date option -d returns incorrect time
Kevin Ivory <[email protected]>
| Newsgroups | gmane.comp.gnu.sh-utils.bugs |
|---|---|
| Organization | Service Network GmbH, Goettingen, Germany |
| Message-ID | <[email protected]> |
The date option -d does not operate correctly or possibly does not accept time zone CEST (which should be the same as MESZ): ivory1:~> time=$(date) ivory1:~> echo "$time" Wed May 15 18:04:04 CEST 2002 ivory1:~> date -d "$time" Wed May 15 19:04:04 CEST 2002 CEST is two hours time difference from UTC. Im am using SuSE 8.0 Linux with sh-utils-2.0-219.i386.rpm Best regards Kevin -- _ | Kevin Ivory | Tel: +49-551-37000041 |_ |\ | | Service Network GmbH | Fax: +49-551-3700009 ._|ER | \|ET | Bahnhofsallee 1b | mailto:[email protected] Service Network | 37081 Goettingen | http://www.SerNet.de/