repo.or.cz
/
koha.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 2959 - Add a timeout parameter to the URL checker
[koha.git]
/
t
/
Koha.t
blob
f4ba20ff92962e1c6db87785f15fcd65ff8542ad
1
BEGIN { $| = 1; print "1..2\n"; }
2
END {print "not ok 1\n" unless $loaded;}
3
use C4::Koha;
4
$loaded = 1;
5
print "ok 1\n";
6
7
#
8
# test that &slashifyDate returns correct (non-US) date
9
#
10
$date = "01/01/2002";
11
$newdate = &slashifyDate("2002-01-01");
12
13
if ($date eq $newdate) {
14
print "ok 2\n";
15
} else {
16
print "not ok 2\n";
17
}
18
19