Skip to content

Commit

Permalink
update script launch year type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jakewmeyer committed Nov 1, 2018
1 parent 4d21065 commit 3057b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/upcoming.js
Expand Up @@ -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,
Expand Down

0 comments on commit 3057b45

Please sign in to comment.