'Make the modify date and time of a file reflect the show air date and time.
Note: Also called from postProcessor'

def airdateModifyStamp(self):

    if ((not self.show.airs) and self.show.network):
        return
    airdate_ordinal = self.airdate.toordinal()
    if (airdate_ordinal < 1):
        return
    airdatetime = tz_updater.parse_date_time(airdate_ordinal, self.show.airs, self.show.network)
    if (sickrage.srCore.srConfig.FILE_TIMESTAMP_TIMEZONE == u'local'):
        airdatetime = airdatetime.astimezone(tz_updater.sr_timezone)
    filemtime = datetime.datetime.fromtimestamp(os.path.getmtime(self.location)).replace(tzinfo=tz_updater.sr_timezone)
    if (filemtime != airdatetime):
        import time
        airdatetime = airdatetime.timetuple()
        sickrage.srCore.srLogger.debug(((((str(self.show.indexerid) + u":    About    to    modify    date    of    '") + self.location) + u"'    to    show    air    date    ") + time.strftime(u'%b    %d,%Y    (%H:%M)', airdatetime)))
        try:
            if touchFile(self.location, time.mktime(airdatetime)):
                sickrage.srCore.srLogger.info(((((str(self.show.indexerid) + u':    Changed    modify    date    of    ') + os.path.basename(self.location)) + u'    to    show    air    date    ') + time.strftime(u'%b    %d,%Y    (%H:%M)', airdatetime)))
            else:
                sickrage.srCore.srLogger.warning(((((str(self.show.indexerid) + u':    Unable    to    modify    date    of    ') + os.path.basename(self.location)) + u'    to    show    air    date    ') + time.strftime(u'%b    %d,%Y    (%H:%M)', airdatetime)))
        except Exception:
            sickrage.srCore.srLogger.warning(((((str(self.show.indexerid) + u":    Failed    to    modify    date    of    '") + os.path.basename(self.location)) + u"'    to    show    air    date    ") + time.strftime(u'%b    %d,%Y    (%H:%M)', airdatetime)))
