A new era: handling locales in calendars
The vast majority of countries use the most widely known calendar, the Gregorian calendar. However, some locales use another calendar for various reasons. Japan is one of them.
Thoughts, stories and ideas.
The vast majority of countries use the most widely known calendar, the Gregorian calendar. However, some locales use another calendar for various reasons. Japan is one of them.
Since I set up this blog, I wanted two things: owning my data and remove any unnecessary manual operation. Using Jekyll, I already achieved the former. Let’s achieve the latter in 50 lines of code.
Higher-order functions are functions that take one or more functions as arguments. They are the cornerstone of functional programming, allowing us to write operators.
As of most years, this year ends in the middle of a week. And according to the date format you are using, it will not display the same date value during these last few days.