Whose bright idea was *that*? Serious misfeature.
}
my $localtime_format = '(%02d:%02d %s)';
- if ($date->{'hour_local'} < 6) {
- $localtime_format = '(<span class="atnight">%02d:%02d</span> %s)';
- }
$strtime .= ' ' .
sprintf($localtime_format,
$date->{'hour_local'}, $date->{'minute_local'}, $date->{'tz_local'});
border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
}
-span.atnight {
- color: #cc0000;
-}
-
span.match {
color: #e00000;
}