rails dates with json
Posted
by fenec
on Stack Overflow
See other posts from Stack Overflow
or by fenec
Published on 2010-05-30T06:20:57Z
Indexed on
2010/05/30
6:22 UTC
Read the original article
Hit count: 381
hello am implementing a facebook application and am using AJAX/Json,however the json structures that are returned have this format "2010-05-30T06:14:00Z" , I am using Game.all.to_json
how can i convert them to a normal date format ? Is it easier to do it from the server side or the client side using fbjs? (there are a lot of bugs with fbjs so i would prefer using a solution from the server side , like converting the data before sending the json structures)
thnak you
© Stack Overflow or respective owner