kay-is / react-from-zero

A simple (99% ES2015 less) tutorial for React
https://www.fullstackreact.com/react-from-zero/
GNU General Public License v2.0
4.6k stars 404 forks source link

Use getDate instead of getDay #8

Closed jordanbtucker closed 6 years ago

jordanbtucker commented 6 years ago

Date.prototype.getDay returns the day of the week whereas Date.prototype.getDate returns the day of the month.

kay-is commented 6 years ago

Good point!

atomiks commented 6 years ago

The preview is does not reflect this change

kay-is commented 6 years ago

@atomiks The issue was, rawgit links will use a commit hash and need to be updated when the file changes.

Fixed it.