Closed borakrc closed 7 years ago
the date format that we take the birthday from user should be the same as the format that the calendar will request the events of a day. we store them as strings in the db, so they should match.
new Date(year, month, day).toISOString().substring(0, 10) seems like our best option again. please note month=0 is Jan. and month=11 is December.
calendar is supposed to show birthdates of students too, so we need that for the calendar.