Changeset 1301
- Timestamp:
- 03/03/08 14:00:52 (6 months ago)
- Files:
-
- honeyclient/trunk/lib/HoneyClient/Agent/Driver/Browser.pm (modified) (1 diff)
- honeyclient/trunk/lib/HoneyClient/Manager.pm (modified) (1 diff)
- honeyclient/trunk/lib/HoneyClient/Manager/VM.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/trunk/lib/HoneyClient/Agent/Driver/Browser.pm
r1289 r1301 512 512 # Outputs: timestamp 513 513 sub _getTimestamp { 514 my $dt = DateTime::HiRes->now( );514 my $dt = DateTime::HiRes->now(time_zone => "local"); 515 515 return $dt->ymd('-') . " " . 516 516 $dt->hms(':') . "." . honeyclient/trunk/lib/HoneyClient/Manager.pm
r1289 r1301 933 933 sub dbRegisterClient { 934 934 my $vm = shift; 935 my $dt = DateTime::HiRes->now( );935 my $dt = DateTime::HiRes->now(time_zone => "local"); 936 936 937 937 # Register the VM with the DB honeyclient/trunk/lib/HoneyClient/Manager/VM.pm
r1289 r1301 4411 4411 !exists($args{'snapshot_file'}) || 4412 4412 !defined($args{'snapshot_file'})) { 4413 my $dt = DateTime::HiRes->now( );4413 my $dt = DateTime::HiRes->now(time_zone => "local"); 4414 4414 my $date = $dt->ymd('') . 'T' . $dt->hms(''); 4415 4415 $args{'snapshot_file'} = "$SNAPSHOT_PATH/$dirName-$date.tar.gz";
