fofr / css-experiments

CSS, HTML and JS experiments from 2010
https://fofr.github.io/css-experiments/
MIT License
642 stars 909 forks source link

Shorten calculation of "hour" #7

Closed benediktp closed 11 years ago

benediktp commented 11 years ago

It's not exactly equivalent as your code could output an hour of 12 while mine strictly limits it from 0 to 11. Should be fine though.

fofr commented 11 years ago

Ah yes, much cleaner. Thanks.