aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/L10N/L10N.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/L10N/L10N.php')
-rw-r--r--lib/private/L10N/L10N.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/L10N/L10N.php b/lib/private/L10N/L10N.php
index f771a99e5d0..f0e37ca1a5d 100644
--- a/lib/private/L10N/L10N.php
+++ b/lib/private/L10N/L10N.php
@@ -159,6 +159,7 @@ class L10N implements IL10N {
$data = strtotime($data);
$value->setTimestamp($data);
} else if ($data !== null) {
+ $data = (int)$data;
$value->setTimestamp($data);
}