1
0
mirror of https://github.com/gamaio/lobli.git synced 2024-12-22 19:52:40 +00:00

Fix the date outputtoday's date

This commit is contained in:
alopexc0de 2014-08-10 21:00:38 -04:00
parent 39baade2e4
commit a2baa09376
No known key found for this signature in database
GPG Key ID: 48E847F18074C953

View File

@ -48,7 +48,7 @@
$redis->set("llinks:$link", $short); $redis->set("llinks:$link", $short);
$redis->rpush("links:$short", $link); $redis->rpush("links:$short", $link);
$redis->rpush("links:$short", $title); $redis->rpush("links:$short", $title);
$redis->rpush("links:$short", date("d/m/Y", strtotime($str))); $redis->rpush("links:$short", date("m/d/Y"));
$redis->expireAt("links:$short", $now+$xTime); $redis->expireAt("links:$short", $now+$xTime);
$redis->expireAt("llinks:$link", $now+$xTime); $redis->expireAt("llinks:$link", $now+$xTime);