I am not a coder. I am not a developer, a software engineer, a systems analyst, a hacker, a cracker or a computer science major. On the other hand, I have a smidgin of experience writing software, which is a meager but occasionally useful skill as one goes through life.
Since I don’t live in the U.S., I don’t read dates in that peculiar way Americans do — day first, then month, then year. Sometimes, which is even more confusing to me, the month comes first, then the day, then the year. 😐
Either way, in Japan dates (and by that I don’t mean eras) are usually shown as year, month, day, and that’s what I’m used to. So I sat down this morning, cracked my knuckles and pitted my primitive coding skills against the source code for tty-clock. The result is a very short, very crisp patch that corrects the display for me.
161,162d160 < ttyclock->tm->tm_year + 1900, < ttyclock->tm->tm_mon + 1, 163a162,163 > ttyclock->tm->tm_mon + 1, > ttyclock->tm->tm_year + 1900,
I’m no expert, of course, but if you decompress the source code for tty-clock, save those six lines as “ttyclock.patch” and then run
patch ttyclock.c ttyclock.patch -R, you should end up with a date that’s more to your liking … if your date sensibilities are at all like mine.