aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/ramsey/uuid/src/DegradedUuid.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/ramsey/uuid/src/DegradedUuid.php')
-rw-r--r--vendor/ramsey/uuid/src/DegradedUuid.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/ramsey/uuid/src/DegradedUuid.php b/vendor/ramsey/uuid/src/DegradedUuid.php
index 4e11272d0..26697615c 100644
--- a/vendor/ramsey/uuid/src/DegradedUuid.php
+++ b/vendor/ramsey/uuid/src/DegradedUuid.php
@@ -40,7 +40,7 @@ class DegradedUuid extends Uuid
$ts = new BigNumber($time, 20);
$ts->subtract('122192928000000000');
$ts->divide('10000000.0');
- $ts->floor();
+ $ts->round();
$unixTime = $ts->getValue();
return new DateTime("@{$unixTime}");