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
https://download.geonames.org/export/dump/ seems like a good source. Has a few dumps for cities by population. And they all link to an IANA Timezone which is what PHP uses.
@khsing did you prefer to add a timezone field in cities or a new timezone table with abbreviation and time offsets? PHP comes with DateTimeZone::Class that handles the information as needed and I think the table might be redundant. Could easily have the functionality with a timezone trait.
How can we add timezone to each city?
The text was updated successfully, but these errors were encountered: