Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeCohen committed May 20, 2024
1 parent 4cc4add commit 500e72b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions app/classes/inat_obs_photo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ def license_id
license(photo).id
end

# iNat photos don't have notes.
# Repurpose Image notes to include iNat photo data
# which otherwise would not be included in the MO Image
# TODO: use something other than original dimensions.
# Maybe something like "Imported from iNat <datetime>"
# Repurpose MO Image.notes to include some iNat photo data
# (iNat photos don't have notes or equivalent.)
def notes
"Imported from iNat #{DateTime.now.utc.strftime("%Y-%m-%d %H:%M:%S %z")}"
end
Expand Down

0 comments on commit 500e72b

Please sign in to comment.