projects
/
iserv-mod-room-reservation.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mod_roomReservationControl.inc needs functions.inc for rrGetCss() and quote.inc for q()
[iserv-mod-room-reservation.git]
/
update-iserv1-iserv2.pl
diff --git
a/update-iserv1-iserv2.pl
b/update-iserv1-iserv2.pl
index
fcb640e
..
c0f219a
100755
(executable)
--- a/
update-iserv1-iserv2.pl
+++ b/
update-iserv1-iserv2.pl
@@
-48,7
+48,7
@@
while(<IN>) {
my $hr = $2;
$hr = "0$hr" if length $hr < 2;
push @tsbeginold, "$hr:$3:00";
my $hr = $2;
$hr = "0$hr" if length $hr < 2;
push @tsbeginold, "$hr:$3:00";
- push @tsbegin, Time::Local::time
local
0, $3, $hr, 1, 0, 1970;
+ push @tsbegin, Time::Local::time
gm
0, $3, $hr, 1, 0, 1970;
print " found beginning: $hr:$3\n";
}
}
print " found beginning: $hr:$3\n";
}
}
@@
-64,7
+64,7
@@
while(<IN>) {
my $hr = $2;
$hr = "0$hr" if length $hr < 2;
push @tsendold, "$hr:$3:00";
my $hr = $2;
$hr = "0$hr" if length $hr < 2;
push @tsendold, "$hr:$3:00";
- push @tsend, Time::Local::time
local
0, $3, $hr, 1, 0, 1970;
+ push @tsend, Time::Local::time
gm
0, $3, $hr, 1, 0, 1970;
print " found ending: $hr:$3\n";
}
}
print " found ending: $hr:$3\n";
}
}
@@
-222,8
+222,9
@@
foreach(IServ::DB::GetArr("SELECT * FROM mod_roomreservation_bookings_old;")) {
$row{"reason"}, "rrb_interval" => $row{"fixed"} };
}
$row{"reason"}, "rrb_interval" => $row{"fixed"} };
}
-# delete old table
+# delete old table
s
IServ::DB::Exec "DROP TABLE mod_roomreservation_bookings_old;";
IServ::DB::Exec "DROP TABLE mod_roomreservation_bookings_old;";
+IServ::DB::Exec "DROP TABLE rooms_archive;";
print "done.\n";
print "done.\n";
This page took
0.023341 seconds
and
4
git commands to generate.