Skip to content

Commit

Permalink
revert fmt -> format
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulHancock committed Jan 15, 2018
1 parent 4890252 commit 9aeff1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AegeanTools/regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def write_fits(self, filename, moctool=''):
hdulist[1].header['MOCID'] = (' ', 'Identifier of the collection')
hdulist[1].header['ORIGIN'] = (' ', 'MOC origin')
time = datetime.datetime.utcnow()
hdulist[1].header['DATE'] = (datetime.datetime.strftime(time, fmt="%Y-%m-%dT%H:%m:%SZ"), 'MOC creation date')
hdulist[1].header['DATE'] = (datetime.datetime.strftime(time, format="%Y-%m-%dT%H:%m:%SZ"), 'MOC creation date')
hdulist.writeto(filename, clobber=True)
return

Expand Down

0 comments on commit 9aeff1a

Please sign in to comment.