Ignore:
Timestamp:
2010-04-28T12:48:05+12:00 (14 years ago)
Author:
kjdon
Message:

for record datestamp, use gs.OAIDateStamp if available, otherwise use lastmodified

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/oaiservr/oaiaction.cpp

    r21883 r21978  
    415415    lc(temp);
    416416    if(temp == "gs.oaidatestamp"){
     417      // assume it is correct format
    417418      lastModified = current->second.values[0];
    418419      return;
     
    423424    time_t raw_time = (time_t)lastModified.getint();
    424425    lastModified = this->parseDatestamp(raw_time);
    425     return;
    426426      }
    427427    }
Note: See TracChangeset for help on using the changeset viewer.