This repository has been archived by the owner on Nov 22, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flipper Network Plugin change timestamps source
Summary: Flipper Network plugin uses timestamps for various usages e.g. start time of network requests, request duration, etc. This diff changes the origin of such timestamps. [NSDate timeIntervalSinceReferenceDate] in favour of FBMonotonicDeviceTimeGetCurrentMilliseconds(). The former uses a timestamp based on date. The latter uses the system boot time. This translates in errors when the Flipper Desktop app tries to make sense of such timestamps. This change also adds parity with the Android network plugin that uses System.currentTimeMillis(). The result is multiplied by 1000 as JavaScript expects a timestamp in millseconds. Reviewed By: fabiomassimo Differential Revision: D29029192 fbshipit-source-id: b38a4798ecf1564f5801ff3549ffeb9671fa32d6
- Loading branch information