Added an initializer to monkey patch TimeWithZone. This is much easier then formatting times client side. This is probably not a good permanent solution.
parent
fa95edff15
commit
3b091d4296
@ -0,0 +1,5 @@ |
||||
class ActiveSupport::TimeWithZone |
||||
def as_json(options = {}) |
||||
%(#{time.strftime("%m/%d/%Y/ %H:%M %p")}) |
||||
end |
||||
end |
Loading…
Reference in new issue