/ Published in: Ruby
alternative to using DateTime.now.to_s
Expand |
Embed | Plain Text
"#{event.start_day.strftime("%F")}T#{event.start_time.strftime("%T%z")}"
You need to login to post a comment.
jhenry on 06/04/08
date rails ruby microformats iso 8601
1 person have marked this snippet as a favorite
alternative to using DateTime.now.to_s
"#{event.start_day.strftime("%F")}T#{event.start_time.strftime("%T%z")}"
You need to login to post a comment.