(now = new Date())
| 57 | |
| 58 | // The reader's current offset, which leads the time zone pickers. |
| 59 | export const getLocalUtcOffset = (now = new Date()): number => |
| 60 | -now.getTimezoneOffset() / 60; |
| 61 | |
| 62 | // The offset the API reads from the profile's time zone, which is what a post |
| 63 | // shows. It reads a profile without one as UTC. |
no outgoing calls
no test coverage detected