diff --git a/scripts/upcoming.js b/scripts/upcoming.js index 5ff49aaf..4fab9f0d 100644 --- a/scripts/upcoming.js +++ b/scripts/upcoming.js @@ -141,7 +141,7 @@ const year = /^[0-9]{4}$/; // Build launch time objects to update calculatedTimes = { flight_number: (base_flight_number + manifest_index), - launch_year: zone.year(), + launch_year: (zone.year()).toString(), launch_date_unix: zone.unix(), launch_date_utc: zone.toISOString(), launch_date_local: localTime,