- Timestamp:
- Jun 1, 2010, 10:45:19 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/haf_branches/ipp.20100512/ippScripts/scripts/minidvodb_createdb.pl
r28168 r28171 202 202 } 203 203 if ($create_new == 0) { 204 my $parser = DateTime::Format::Strptime->new( pattern => '%Y-%m-%dT%H:%M:%S' );204 my $parser = DateTime::Format::Strptime->new( pattern => '%Y-%m-%dT%H:%M:%S', time_zone => "HST" ); 205 205 my $creation_dt = $parser->parse_datetime( $creation_date )->mjd; 206 if ($mjd_start- $creation_dt > $minidvodb_interval && $addRun_count > 0 ) { 206 if ($mjd_start- $creation_dt > $minidvodb_interval) { # && $addRun_count > 0 ) { 207 #if ($mjd_start- $creation_dt > $minidvodb_interval && $addRun_count > 0 ) { 207 208 #db is old and has stuff in it, want to create_new 208 209 $create_new = 1;
Note:
See TracChangeset
for help on using the changeset viewer.
