Changeset 19231


Ignore:
Timestamp:
10/01/18 20:11:16 (6 years 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.