Skip to content

getDaysToDelivery Function Returns Positive When Should Be Negative #2

@Nerwyn

Description

@Nerwyn

getDaysToDelivery function in /src/components/05_VinDetailsView.vue always returns a positive number, even when the delivery date has passed. At line 262 there shouldn't be a Math.abs call. Negative numbers are already being caught in checkDaysToDelivery and should be returned as "N/A".

Reporting because my Mach E is over a week late at this point and I got false hope from incorrect days to delivery 😢.

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