UserTimezoneService
class UserTimezoneService (View source)
Resolves the timezone to display for a user: their preference, then misc.timezone, then UTC.
Methods
__construct(UserPreferenceService $preferenceService, ConfigurationInterface $config)
No description
string
getEffectiveTimezone(int|null $userId)
No description
void
clearCache()
No description
Details
__construct(UserPreferenceService $preferenceService, ConfigurationInterface $config)
No description
string
getEffectiveTimezone(int|null $userId)
No description
void
clearCache()
No description