IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 25, 2019, 2:12:23 PM (7 years ago)
Author:
fairlamb
Message:

Minor change from 'today' to 'now'

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • trunk/backups/backup.py

    r40967 r40973  
    268268                os.remove(log_file)
    269269            with open(log_file, "w+") as lf:
    270                 lf.write(f'Run started at: {datetime.date.today().strftime("%Y_%b_%d_%H:%M")}\n')
     270                lf.write(f'Run started at: {datetime.datetime.now().strftime("%Y_%b_%d_%H:%M")}\n')
    271271
    272272    def _write_end_log(self):
     
    277277                return
    278278            with open(log_file, "a") as lf:
    279                 lf.write(f'Last successful backup completed at : {datetime.date.today().strftime("%Y_%b_%d_%H:%M")}\n')
     279                lf.write(f'Last successful backup completed at : {datetime.datetime.now().strftime("%Y_%b_%d_%H:%M")}\n')
    280280
    281281
Note: See TracChangeset for help on using the changeset viewer.