Skip to content
Prev Previous commit
Next Next commit
Apply formatting changes
  • Loading branch information
eoghanmurray committed Apr 13, 2023
commit 8edb68aae6a7cd0a699f3633473e67b726fbf99d
2 changes: 1 addition & 1 deletion packages/rrweb/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export function patch(
let nowTimestamp = Date.now;
if (!/[1-9][0-9]{12}/.test(Date.now())) {
// they have already redefined it! use a fallback
nowTimestamp = () => (new Date()).getTime();
nowTimestamp = () => new Date().getTime();
}
export { nowTimestamp };

Expand Down