So I have a rails app that receives dates from an ios app. One user has been posting dates that look like this: “٢٠١٢-٠٥-٠١ ٠٩:٤٠:٣٨ +0000”. And when ruby tries to take that string and parse a date out of it, it crashes. Any clues on how to deal with these kinds of strings in either my rails app or the ios app (which I can’t touch, but a friend maintains)?
Share
1 Answer