Ignore:
Timestamp:
2001-07-19T17:00:33+12:00 (23 years ago)
Author:
jrm21
Message:

minor tweak - we were printing Last-Modified header with UTC set to the
localtime.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/receptionist.cpp

    r2613 r2660  
    792792    // print out modified time, "DDD, dd MMM YYYY hh:mm:ss" format
    793793    // c library takes care of mem for this string... (has \n at end!!!!)
    794     contentout << "Last-Modified: " << ctime(&latest);
     794    // latest is currently local time, convert to UTC.
     795    struct tm* utc_latest;
     796    utc_latest=gmtime(&latest);
     797    contentout << "Last-Modified: " << asctime(utc_latest);
    795798      }
    796799    }
Note: See TracChangeset for help on using the changeset viewer.