> I assume z.default() resets the value with the default, if the parsing failed ? Goal of my check was to catch random strings in the Dynamic route.
If yes good change! Approved
No, .default() will fill in the current month or year, when it's empty. When you put in an illegal date, you will currently be redirected to login page due to:
No, .default() will fill in the current month or year, when it's empty. When you put in an illegal date, you will currently be redirected to login page due to:
_Originally posted by @bjesuiter in https://github.com/codemonument/deno_audio_logbook/issues/11#issuecomment-1470848562_