A calendar generator made with Typescript
Function Calenday should be called this way:
calenday(id, format, date) // Example : calenday('calenday', 'month', '04/20/2021')
id is the div's id where the calendar will be generated. Must already exist.
format the format in wich the calendar will be generated. Can only be 'week' or 'month'.
date (optional) a date with this format 'mm/dd/yyyy'. The calendar will generate the month or the week of this date. If leaved blank will used the actual day.