projects
/
phpfspot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8818320
)
issue68, fixed time-ranges for search
author
Andreas Unterkircher
<unki@netshadow.at>
Sat, 28 Jul 2007 05:51:18 +0000
(
05:51
+0000)
committer
Andreas Unterkircher
<unki@netshadow.at>
Sat, 28 Jul 2007 05:51:18 +0000
(
05:51
+0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@257
fa6a889d
-dae6-447d-9e79-
4ba9a3039384
phpfspot.class.php
patch
|
blob
|
history
diff --git
a/phpfspot.class.php
b/phpfspot.class.php
index e5954ceea9c377a074be0210d638744331951802..86235ac40e5183fff4303dbebca4c3c617c477a3 100644
(file)
--- a/
phpfspot.class.php
+++ b/
phpfspot.class.php
@@
-564,8
+564,8
@@
class PHPFSPOT {
$matched_photos = Array();
if(isset($_SESSION['from_date']) && isset($_SESSION['to_date'])) {
- $from_date = strtotime($_SESSION['from_date']);
- $to_date = strtotime($_SESSION['to_date']);
+ $from_date = strtotime($_SESSION['from_date']
." 00:00:00"
);
+ $to_date = strtotime($_SESSION['to_date']
." 23:59:59"
);
$additional_where_cond = "
p.time>='". $from_date ."'
AND