Format Dates Calendar.Txt Style

Format your dates Calendar.txt style, everywhere! Like 2024-01-04 w01 Thu.

I printed every day from year 1700 to 2400, using Python 3, Go, PHP, Django templates and 'date'. Then I checked that results match.

day.strftime("%Y-%m-%d w%V %a") # Python
$date->format('Y-m-d \wW D') // PHP
date +"%Y-%m-%d w%V %a" # Linux 'date'

Command Line Basics Revisited

The command line used in Linux and BSD has survived the test of time. It existed before Google, Web, Linux, Windows and even before the Internet. It's also convenient, fast, expressive and easy to automate. I use it every day.

$ pwd