From: Josselin Date: 2006-07-26T00:20:22+09:00 Subject: ParseDate in local format... when a user choose a date from my datepicker calendar, an european local startdate is displayed in the text field : 30/7/2006, fine ! As I must add 10 days to this starting date to 'ajax-modify' the ending date, I wrote the following method : def startdateChanged v = ParseDate::parsedate(@params["startdate"]) #=> [2006, 30, 7, nil, nil, nil, nil, nil] t = Time.local(v.compact*",") #=> Sun Jan 01 00:00:00 CET 2006 which is wrong @enddate = (t+(84600*10)).strftime("%d/%m/%Y") render(:partial => "enddate") end the Time.local() is expected [2006, 7, 30, nil, nil, nil, nil, nil] is there any way to parse the date according to a 'locale' (fr_FR in this case) thanks joss