Create function get_plot_time_labels() to refactor forecast plotting code

3 jobs for dev-fix_aggregated_dates_plots
in 22 minutes and 32 seconds, using 0 compute credits, and was queued for 5 seconds