Commit 48fb81900ac5e2516c5feeb85ce3d18362f3cd41
1 parent
db0c93ce
-Timestamp problem 2.0
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
models/Order.php
@@ -201,7 +201,7 @@ | @@ -201,7 +201,7 @@ | ||
201 | { | 201 | { |
202 | if (!empty( $this->deadline )) { | 202 | if (!empty( $this->deadline )) { |
203 | $date = new \DateTime(); | 203 | $date = new \DateTime(); |
204 | - $date->setTimestamp($this->deadline); | 204 | + $date->setTimestamp(strtotime($this->deadline)); |
205 | $date->format("d.m.Y"); | 205 | $date->format("d.m.Y"); |
206 | $this->deadline = $date->getTimestamp(); | 206 | $this->deadline = $date->getTimestamp(); |
207 | 207 |