class ExifTagger::Tag::ModifyDate

-EXIF:ModifyDate=now

Constants

EXIFTOOL_TAGS
MAX_BYTESIZE

Private Instance Methods

generate_write_script_lines() click to toggle source
# File lib/phtools/exif_tagger/tags/modify_date.rb, line 17
def generate_write_script_lines
  @write_script_lines << if @value.is_a?(DateTime)
                           %(-EXIF:ModifyDate=#{@value.strftime('%F %T')})
                         else
                           %(-EXIF:ModifyDate=#{@value})
                         end
end