On Thu, Mar 8, 2012 at 16:28, Adrian Popa <adrian.popa...@gmail.com> wrote:
> Da, argument valid, dar se pare că nu e de la ăsta:
>
> adrianp@frost:~$ echo $LC_TIME
>
> adrianp@frost:~$ LC_TIME=C date --date='2 days 9 hours 35 minutes ago'
> Sun Mar 11 00:51:13 EET 2012
>
> [root@panopticon ~]# echo $LC_TIME
>
> [root@panopticon ~]# LC_TIME=C date --date='2 days 9 hours 35 minutes ago'
> Tue Mar  6 06:51:21 EET 2012
>
> Și ciudat... în man-ul meu nu e specificat LC_TIME (Ubuntu 10.04):
>
>       The  --date=STRING is a mostly free format human readable date
> string such as "Sun, 29 Feb 2004 16:21:42
>       -0800" or "2004-02-29 16:21:42" or even "next Thursday".  A date
> string  may  contain  items  indicating
>       calendar date, time of day, time zone, day of week, relative time,
> relative date, and numbers.  An empty
>       string indicates the beginning of the day.  The date string format
> is more complex than is easily  docu-
>       mented here but is fully described in the info documentation.


Tu stii ca-s doua versiuni diferite de date, aia de la GNU si aia de la BSD, da?

-- 
Petre, just checking
_______________________________________________
RLUG mailing list
RLUG@lists.lug.ro
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui