Commit 1635037c authored by Romain Therville's avatar Romain Therville 🐭
Browse files

Merge branch 'issue#120' into 'master'

Merge branch issue#120 with master

See merge request !53
parents 5e0c63d4 3d78c9f0
...@@ -343,8 +343,8 @@ please have a look at our storage fees (<a href="###URL_PRICE###">###URL_PRICE## ...@@ -343,8 +343,8 @@ please have a look at our storage fees (<a href="###URL_PRICE###">###URL_PRICE##
$retention_value = $split_retention_line[1]; $retention_value = $split_retention_line[1];
if($policy == "date"){ if($policy == "date"){
$date = date("d/m/Y", strtotime($retention_value)); $date = date_create_from_format("d/m/Y", $retention_value);
$nice_date = date('l jS \of F Y h:i:s A', $date); $nice_date = date_format($date, 'l jS \of F Y');
$return_text = " until ".$nice_date; $return_text = " until ".$nice_date;
}elseif($policy == "period"){ }elseif($policy == "period"){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment