projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
explicit int cast, prevents the result rounding up to 1000 (4 digits)
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Schema
/
Versioned.pm
diff --git
a/lib/DBIx/Class/Schema/Versioned.pm
b/lib/DBIx/Class/Schema/Versioned.pm
index
a7c405c
..
a04b23e
100644
(file)
--- a/
lib/DBIx/Class/Schema/Versioned.pm
+++ b/
lib/DBIx/Class/Schema/Versioned.pm
@@
-719,7
+719,7
@@
sub _set_db_version {
$dt[2],
$dt[1],
$dt[0],
- $tm[1] / 1000, # convert to millisecs, format as up/down rounded int above
+ int($tm[1] / 1000), # convert to millisecs
),
});
}