fix: Spectre needs new watch batteries

This commit is contained in:
JT Smith 2007-01-30 21:42:18 +00:00
parent c56a53b4a2
commit 237c2213e9
2 changed files with 2 additions and 1 deletions

View file

@ -9,6 +9,7 @@
- fix: Exporting fails with strange URLs. Also factored the URL to path/file
translation out into a seperate method so it can be more easily maintained
and tested.
- fix: Spectre needs new watch batteries
- fix: lack of testing for valid object creation
- fix: No mention of intermediate upgrade step in gotcha's
- fix: A newly released version of Html::Template fixes a bug with global

View file

@ -181,7 +181,7 @@ Checks all the schedules of the jobs in the queue and triggers a workflow if a s
sub checkSchedules {
my ($kernel, $self) = @_[KERNEL, OBJECT];
$self->debug("Checking schedules against current time.");
my $now = DateTime->from_epoch(epoch=>time());
my $now = DateTime->now(time_zone => 'local');
foreach my $id (keys %{$self->{_jobs}}) {
$kernel->yield("checkSchedule", $id, $now)
}