Skip to content

Auro Flight to handle invalid date/time values #589

@jason-capsule42

Description

@jason-capsule42

Discussed in https://github.com/orgs/AlaskaAirlines/discussions/531

Originally posted by blackfalcon March 22, 2024
Submitted by Robert Hays

We are using the Auro Flight element within the RAIN application. On occasion, we receive invalid flight departure/arrival datetime values from GDS/Sabre services.

For example, we might receive a minimum value datetime such as 0001-01-01T12:00:00+08:00 for either the departure or arrival date. In this situation (shown in the screen shot), you would see a 12:00 pm value displayed in the Auro Flight element for an arrival datetime value of 0001-01-01T12:00:00+08:00. This is technically a valid date so we will not see the 'Invalid Date' that would typically display in the Auro Flight element when it is truly an invalid date situation.

Our business customers would prefer to display some sort of custom text (maybe something like 'Time Not Available') vs. the 12:00 pm value that we current display. Is there a way to override or provide a customizable departure/arrival time value/description within the Auro Flight element?

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions