OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/config/initializers/time_with_zone_as_json.rb

5 lines
118 B

class ActiveSupport::TimeWithZone
def as_json(options = {})
%(#{time.strftime("%m/%d/%Y/ %H:%M %p")})
end
end