You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was pretty surprised to find that when I instantiate Browscap, my timezone suddenly changed. It's correct that you need a timezone to be set, but doing it in the constructor (or anywhere in the library for that matter) is a bad approach.
Instead, you should rely on my app or the testing bootstrap code to handle dates and timezones.
The text was updated successfully, but these errors were encountered:
I was pretty surprised to find that when I instantiate Browscap, my timezone suddenly changed. It's correct that you need a timezone to be set, but doing it in the constructor (or anywhere in the library for that matter) is a bad approach.
Instead, you should rely on my app or the testing bootstrap code to handle dates and timezones.
The text was updated successfully, but these errors were encountered: