We did this code something like arround january, we never saw it until august. The fact is that all numbers from 1 (january) to 7 (july) are the same in decimal or octal.
So in august, all is breaking!
What's more fun is I comited a fork of this code as an official Drupal contrib module; module usage statistics says that arround 30 people are using it.
#1 – More fun
And do you know what's really fun with this bug?
We did this code something like arround january, we never saw it until august. The fact is that all numbers from 1 (january) to 7 (july) are the same in decimal or octal.
So in august, all is breaking!
What's more fun is I comited a fork of this code as an official Drupal contrib module; module usage statistics says that arround 30 people are using it.