This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use DateTimeZone; | |
/** | |
* Some timezone names are not officially "canonical", but rather an alias or alternative name. | |
* This class resolves those to the correct timezone name. | |
* https://en.wikipedia.org/wiki/List_of_tz_database_time_zones | |
*/ | |
final class TimezoneNameResolver { |