2016-08-21 – Nikon D3300
Chinese knotting and coin, Baan See See, Mae Salong, Thailand
I had been joking about re-implementing leah blogs’
fdate
Ruby script in another language but then I gave myself a way
to “cheat” and started scribbling notes to make it work as a shell script –
Leah’s script properly tries to calculate weekdays and months and years (and
includes conversion to Roman numerals) but leaves out the rural days of the
French Republican calendar – similar to the Catholic saints days, each day is
assigned a unique name associated with the rural economy – a list of 360 names
that aren’t calculated
since I wanted to include the rural calendar, the easiest way (the “cheat”) is
to create a separate file with the names listed out (and I can then also include
the date and month as well) – so all I need then is a data file, the current
Gregorian year %Y
, if it’s a leap year (calculated), and the day of
the year %j
the day after
the day before
the month before
the season before