mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-04 16:47:15 +02:00
Fix bad serialization of Date objects
Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3283
This commit is contained in:
parent
57ed293760
commit
c154aaa69c
@ -592,7 +592,8 @@ const _serialize = data => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ( xtypeInt === I_DATE ) {
|
if ( xtypeInt === I_DATE ) {
|
||||||
writeBuffer.push(C_DATE + _serialize(data.getTime()));
|
writeBuffer.push(C_DATE);
|
||||||
|
_serialize(data.getTime());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Reference to composite types
|
// Reference to composite types
|
||||||
|
Loading…
Reference in New Issue
Block a user