default ifFormat value should be set to '%Y/%m/%d %H:%M:%S',
however when format_js_hash is called this format is
being destroyed by value.inspect.gsub(":","") so time gets formatted
as eg."2007-06-20 164408"
def format_js_hash(options)
options.collect { |key,value| key.to_s + ':' +
value.inspect.gsub(":","") }.join(',')
end
why did you add value.inspect.gsub(":","") to that function ? is it
safe to remove that part ?
thanks,
Przemek
On Jun 20, 8:45 am, Przemyslaw Wroblewski