Hacker News new | ask | show | jobs
by suprfsat 2082 days ago
I would simply take 255 modulo 24 and use 15 rather than require the user to enter a so-called "canonical" encoding of an hour.