When I do this:
DateTime.now.to_s
I Got: 2015-07-31T22:22:05+02:00
But I need it in this format:
2015-07-31 22:22:05
How can I format it this way?
Aucun commentaire:
Enregistrer un commentaire