This is independent of locale. The get_date function simply treats
xx/yy as US format according to "info date".

Erez D wrote:
> On Mon, Nov 9, 2009 at 1:26 AM, Chaim Keren-Tzion <ch...@intercomp.co.il> 
> wrote:
>   
>> $ date  -d 'Mon 11/9 2:25 AM'
>> Mon Nov  9 02:25:00 IST 2009
>>     
>
>
> yes, that what i want, but that's not what i get.
> it thinks the 11/9 is september 11, instead of november 9 (i.e. 11/9
> vs 9/11 format)
> what is your locale ?
>
> thanks,
> erez.
>   
>> Chaim
>>
>> On Mon, Nov 9, 2009 at 12:34 AM, Erez D <erez0...@gmail.com> wrote:
>>     
>>> # date  -d 'Mon 9/11 2:25 AM'
>>> Fri Sep 11 02:25:00 IDT 2009
>>>
>>> but i want it to return:
>>> Mon Nov  9 02:25:00 IDT 2009
>>>
>>> i tried setting LC_TIME but this didn't help.
>>>
>>> any idea ?
>>>
>>> cheers.
>>> erez.
>>>
>>> _______________________________________________
>>> Linux-il mailing list
>>> Linux-il@cs.huji.ac.il
>>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>>       
>>     
>
> _______________________________________________
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>   


-- 
Ilya A. Volynets-Evenbakh
http://www.total-knowledge.com


_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to