Fork me on GitHub
Ben Halton09:12:15

hi so we have something a bit weird going on with date formatting

Ben Halton09:12:20

cljs.user> (tick/date "2021-12-26")
#time/date "2021-12-26"

Ben Halton09:12:59

cljs.user> (tick/format "EEEE, dd MMMM YYYY" (tick/date "2021-12-26"))
"Sunday, 26 December 2022"

Ben Halton09:12:25

it seems to consistently produce the wrong year

Ben Halton09:12:46

cljs.user> (tick/format "EEEE, dd MMMM YYYY" (tick/date "2021-12-25"))
"Saturday, 25 December 2021"

Ben Halton09:12:55

from boxing day onwards


Lower case 'y' 😉

Ben Halton10:12:37

oooh thanks 😄 it's one of those things that kinda worked till it didn't 😐

Ben Halton10:12:37

yes now I see that all the other fns use lowercase

Ben Halton10:12:47

blame it on a sunday morning prod issue :thumbsup::skin-tone-2: