diff options
-rwxr-xr-x | clock.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -123,7 +123,7 @@ $my_win->{window}->add(gtkpack_(Gtk2::VBox->new(0,0), my ($year, $month, $day) = $calendar->get_date; $month++; my ($hour, $min, $sec) = ($adj_h->get_value, $adj_m->get_value, $adj_s->get_value); - system(x"date " . + system("date " . join('', map { print_it0($_) } ($month, $day, $hour, $min, $year)) . '.' . print_it0($sec)); -e '/sbin/hwclock' and system('/sbin/hwclock --systohc'); system("dcop kicker Panel restart") if $ENV{DESKTOP} eq 'kde'; |