Skip to content

UTC Dates/Time are not converted to German Time - Holiday status is wrong from 22-23:59 #84

@bpolenske

Description

@bpolenske

The functions are only checking the day and are not converting into the german time zone first.

"2025-05-28T23:00:00.00Z" is already 2025-05-29 in Germany and with this request Holiday should be true as it is Christi Himmelfahrt.

const date11 = new Date("2025-05-28T23:00:00.00Z");
console.log( Feiertage.isHoliday(date11,'ALL') );

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