diff --git a/Project-Days-Calendar/README.md b/Project-Days-Calendar/README.md index 5510cd4..919e051 100644 --- a/Project-Days-Calendar/README.md +++ b/Project-Days-Calendar/README.md @@ -22,12 +22,20 @@ Your website must be hosted on the internet, and must be automatically deployed You must be able to explain every line of code in your project, even ones other people in your group wrote. +> [!WARN] +> +> Date calculations can be complicated. Daylight savings time in particular can cause problems. +> +> Read [this guidance on handling daylight savings time and time zones](https://stackoverflow.com/questions/2532729/daylight-saving-time-and-time-zone-best-practices). +> +> Be sure to check the _exact_ dates returned when testing. Being off by one day will fail your project. + ### Requirements for everyone Regardless of your group size, you must: * Create an HTML page which, when loaded, displays a calendar. -* The calendar must show every day of the current month, each as a rectangle. Each row of rectangles must show one week. The first column must show Mondays. The first day of the month must be shown in the first row. +* The calendar must show every day of the current month, each as a rectangle. Each row of rectangles must show one week. The first column must show Sundays. The first day of the month must be shown in the first row. * There must be two buttons which, when clicked, switch what is displayed. One button must change the display to the previous month. The other button must change the display to the next month. On repeated clicks, these buttons must keep moving back/forwards in time, one month per click. * These buttons must work on every month. There should be no first/last months beyond which you can't press previous/next and have them work. * There must be a way to jump to a particular month and year, e.g. "October 2020". For example, you could use a `