Display correct Local Time with DST Change

That depends on what you’re trying to do. tzlocal will give you the localised time using the current offset of the browser - but it doesn’t know anything about dst.

If you need the localised time using the offset that would have applied at that time, you need to use the timezone (rather than just an offset) and a dst aware library like pytz.