mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-05 18:32:30 +01: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;
|
||||
}
|
||||
if ( xtypeInt === I_DATE ) {
|
||||
writeBuffer.push(C_DATE + _serialize(data.getTime()));
|
||||
writeBuffer.push(C_DATE);
|
||||
_serialize(data.getTime());
|
||||
return;
|
||||
}
|
||||
// Reference to composite types
|
||||
|
Loading…
Reference in New Issue
Block a user