I’ve created my own trash widget (hoehoe, my first one ) and I would like to replace the dates which are taking place today and tomorrow with the strings ‘today’ and ‘tomorrow’. The dates are gathered via the api of my ‘trash-company’, so I can do some magic in my rule to achieve this I suppose. But maybe there is an easier way? I don’t mind if the items doesn’t change, as long as the widget is changed, I’m happy.
I’ve already found this post of some years ago, but this doesn’t seems to work anymore (withTimeAtStartOfDay is undefined…):