You are not logged in.

#1 2010-10-10 17:06:03

pablox
Member
From: /home/chile/santiago/
Registered: 2008-05-14
Posts: 183
Website

Date "Invalid date" on some TImezones

Until yesterday, the date command was working fine, since today, if I try to run:

$ date -d "next monday"
date: invalid date «next monday»

If I change the TZ variable, for example:

export TZ=US/Eastern
$ date -d "next monday"
lun oct 11 00:00:00 EDT 2010

So, I guess the problem is with the "timezone".

We changed our timezone today (America/Santiago; CLST), from UTC - 4 to UTC - 3 (Daylight savings), so I don't know if it has something to do.


Geeks & Linux Atelier
An eye for an eye ... ends in making everybody blind -- Mahatma Gandhi
dotfiles

Offline

Board footer

Powered by FluxBB