I just started using the Carbon extension (itโs still pretty sweet), but I got confused in the Carbon::now() function. According to the docs, it seems that this function should reflect the current time in the current time zone of users, however, it seems that I get a time that is an hour ahead of GMT.
i.e. Carbon::now() says 2015-01-01 17:26:46 when I am in PST, and actually it is currently 2015-01-01 08:26:46 .
Should I detect and set the local time zone of users for all instances?
What gives? (I may very well have a fundamental misunderstanding of how the site gets local time for users)
source share