Changeset 18523


Ignore:
Timestamp:
06/24/16 12:20:34 (9 years ago)
Author:
tbretz
Message:
Added a fix which should give correct results for the years no matter whether it is given as 2016 or 16.
File:
1 edited

Legend:

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

    r18505 r18523  
    167167        try
    168168        {
    169             const Time tm = Time(2000+y, m, d, hh, mm, ss);
     169            const Time tm = Time(y>999 ? y : 2000+y, m, d, hh, mm, ss);
    170170            if (tm==fLastReport)
    171171                return;
Note: See TracChangeset for help on using the changeset viewer.