{"id":23225,"library":"airporttime","title":"AirportTime","description":"Convert between local time and UTC time using IATA airport codes. Handles daylight saving time automatically. Current version 0.0.0, early development.","status":"active","version":"0.0.0","language":"python","source_language":"en","source_url":"https://github.com/liamcryan/airporttime","tags":["timezone","airport","utc","local-time","conversion","iata"],"install":[{"cmd":"pip install airporttime","lang":"bash","label":"PyPI install"}],"dependencies":[],"imports":[{"note":"common naming confusion","wrong":"from airporttime import airport_time","symbol":"AirportTime","correct":"from airporttime import AirportTime"}],"quickstart":{"code":"from airporttime import AirportTime\n\nat = AirportTime()\n# Convert local time at JFK to UTC\nutc_time = at.local_to_utc('JFK', '2026-05-01 14:30:00')\nprint(utc_time)\n\n# Convert UTC to local time at LHR\nlocal_time = at.utc_to_local('LHR', '2026-05-01 18:30:00')\nprint(local_time)","lang":"python","description":"Basic usage: convert between local and UTC time by airport code."},"warnings":[{"fix":"Ensure input strings match the expected format. No timezone info in input string.","message":"Time format must be 'YYYY-MM-DD HH:MM:SS' exactly. Other formats (with T, timezone offsets, etc.) may cause parsing errors.","severity":"gotcha","affected_versions":"all"},{"fix":"Use IATA codes (3 letters, e.g., 'JFK', 'LHR').","message":"Only IATA airport codes are supported. ICAO codes (e.g., 'KJFK') will not work.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"pip install airporttime","cause":"Package name typo or not installed.","error":"airporttime not found"},{"fix":"Use a valid IATA code (3 letters, uppercase). Check list of supported airports.","cause":"Non-IATA code or invalid airport.","error":"ValueError: Unsupported airport code: ..."}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}