mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-12 01:08:39 +00:00
Schema: convert timestamp into integer
Mixed types such as integers and floats are causing issues with Hive. Bug: T182000 Change-Id: I6643168a67207a59d56d7d39b2408587a5bb3524
This commit is contained in:
parent
1e31d95c56
commit
38a7978edb
BIN
resources/dist/index.js
vendored
BIN
resources/dist/index.js
vendored
Binary file not shown.
BIN
resources/dist/index.js.json
vendored
BIN
resources/dist/index.js.json
vendored
Binary file not shown.
|
@ -97,7 +97,8 @@ function getEventLoggingTracker( user, config, bucket, window ) {
|
|||
*/
|
||||
function getCurrentTimestamp() {
|
||||
if ( window.performance && window.performance.now ) {
|
||||
return window.performance.now();
|
||||
// return an integer; see T182000
|
||||
return Math.round( window.performance.now() );
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue