Americans, your weeks starting with Sunday tricked me into thinking that tm_wday is 1-based and caused an array out of bounds that is only reproducible once a week. I hope you are happy.
When I learnt that in Jai's print() you escape percents like \% and not like %% (the C way) my first reaction was "Wait, wtf! I wrote compilers before! This is not how it all works!" I went on grepping the docs and instantly found this.
Interesting approach to pass an array as parameter without decaying to a pointer in C++. And the function also gets to know the size of it at compile time.
It's interesting how Jai is probably the only language I don't think about when I'm programming in it. It is truly a language that doesn't exist because it simply doesn't stay on your way.