Changeset 19231


Ignore:
Timestamp:
Oct 1, 2018, 8:11:16 PM (11 months ago)
Author:
tbretz
Message:
YYYYMMDD-1 does not always make sense ;)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/evtserver.cc

    r18959 r19231  
    8585
    8686        // Check if file has to be changed
    87         const uint32_t night = fStartDate>0 ? fStartDate : Time().NightAsInt()-1;
     87        const uint32_t night = fStartDate>0 ? fStartDate : Time(Time().Mjd()-1).NightAsInt();
    8888
    8989        if (fNight!=night)
Note: See TracChangeset for help on using the changeset viewer.