Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Commit

Permalink
Merge pull request #125 from dpn-admin/fix/issue_124
Browse files Browse the repository at this point in the history
Fix/issue 124
  • Loading branch information
dazza-codes authored Oct 28, 2016
2 parents ec4ea9b + 51db157 commit 1c3039d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/adapters/adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def map_simple(model_field, public_field)
# @param [Symbol] public_field
# @param [String] date_format The Date format to use.
def map_date(model_field, public_field, date_format)
raise ArgumentError, "date_format cannot be nil" if date_format.nil?
map_from_public public_field do |value|
{model_field => time_from_public(value)}
end
Expand Down
2 changes: 2 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ class Application < Rails::Application
:request_specs => true
end

require_relative 'time_formats'

end
end
end
File renamed without changes.

0 comments on commit 1c3039d

Please sign in to comment.