Changeset 10421


Ignore:
Timestamp:
04/20/11 15:20:24 (14 years ago)
Author:
tbretz
Message:
Fixed the millisecond part of the time, the Time class expects microseconds; some changed to the help output.
File:
1 edited

Legend:

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

    r10392 r10421  
    650650        //construct the header
    651651        std::stringstream header;
    652         Time cTime((time_t)(I->getTimestamp()), I->getTimestampMillisecs());
     652        Time cTime(I->getTimestamp(), I->getTimestampMillisecs()*1000);
    653653        fQuality = I->getQuality();
    654654        fMjD = cTime.Mjd();
     
    11751175{
    11761176    cout <<
    1177         name << " - FACT++ 1.0\n"
     1177        name << " - "PACKAGE_STRING"\n"
    11781178        "\n"
    1179         "Written by Thomas Bretz <thomas.bretz@epfl.ch> et al.\n"
     1179        "Written by Thomas Bretz et al.\n"
    11801180        "\n"
    1181         "Report bugs to Thomas Bretz <thomas.bretz@epfl.ch>\n"
    1182         "FACT++ home page: http://www.xxx.com\n"
     1181        "Report bugs to <"PACKAGE_BUGREPORT">\n"
     1182        "Home page: "PACKAGE_URL"\n"
    11831183        "\n"
    11841184        "Copyright (C) 2011 by the FACT Collaboration.\n"
Note: See TracChangeset for help on using the changeset viewer.