In JavaScript, the standard Date() constructor does not recognize dates in the format of "dd.mm.yyyy". You can try changing the date string to the ISO-8601 format "yyyy-mm-dd" which is recognized by the constructor.
index.tsx391 chars8 lines
gistlibby LogSnag