date-in-finnish
A little script which generates the current date in Finnish, and tells you the cardinal and ordinal number of today's date.
I have this set up in an automation in the iOS Shortcuts app:
The first action uses the app Scriptable to run some JavaScript, which is the contents of date-in-finnish.js plus the code to run it:
// contents of date-in-finnish.js
// ...
return dateInFinnish.getForToday({
dateFormat: {
weekday: 'long',
day: 'numeric',
month: 'long',
},
outputFormat: `Tänään on [formattedDate]
([cardinal] → [ordinal])`,
})
So every morning it sends me a notification like this:
Pretty useful to practise saying dates and learning the cardinal and ordinal numbers.