/ Published in: Ruby
alternative to using DateTime.now.to_s
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
"#{event.start_day.strftime("%F")}T#{event.start_time.strftime("%T%z")}"