Closed sebknzl closed 11 years ago
I find using "JAN" or "SUN" a little unusual, usual crons don't care about the case. I usually use "Jan" or "Sun".
Using str_ireplace() instead of strtr() should do the trick, e.g.
$value = str_ireplace( array( "JAN", "FEB", ... ), array( "0", "1", ... ), $value );
Can you send a pull request?
Ok, will do it in the next few days.
I find using "JAN" or "SUN" a little unusual, usual crons don't care about the case. I usually use "Jan" or "Sun".
Using str_ireplace() instead of strtr() should do the trick, e.g.