Ollie-Boyd / Linkedin-post-timestamp-extractor

Given a Linkedin post URL we can decode the UTC timestamp which isn't otherwise available in frontend/API metadata.
GNU General Public License v3.0
113 stars 23 forks source link

Timezone support #3

Closed Hexstream closed 1 month ago

Hexstream commented 11 months ago

It's great that the tool extracts the native UTC time, but this leaves users scrambling for a timezone converter that doesn't suck. I haven't found one.

It would be really great if there was built-in support for also displaying the date in a chosen timezone.

I realize this would take some development effort...

edit: There could just be a way of selecting a timezone offset as an integer...

DGrothe-PhD commented 1 month ago

I had about the same idea. Currently time is displayed as UTC while for Germany it's +2h (still quite close)

It's just easy to implement, going to commit my fix in the next days.

DGrothe-PhD commented 1 month ago

See PR #9

Hexstream commented 1 month ago

This works great, thank you!!