junhoyeo / threads-api

Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's Threads. Web UI Included.
https://threads.junho.io
MIT License
1.58k stars 134 forks source link

Manage user timezone/location as an memoized getter inside `ThreadsAPI` #201

Open junhoyeo opened 11 months ago

junhoyeo commented 11 months ago
          Can we have the `timezone_offset` from the user locale, as in #50?

https://github.com/junhoyeo/threads-api/blob/200ad48d33dc8afe6d14a6e627ac36b1fe711820/threads-api/src/threads-api.ts#L1328-L1333

We should manage this value as an memoized getter...

_Originally posted by @junhoyeo in https://github.com/junhoyeo/threads-api/pull/189#discussion_r1265921250_