formatdate(): Jason Mastaler correctly points out that divmod with a
negative modulus won't return the right values. So always do positive modulus on an absolute value and twiddle the sign as appropriate after the fact.
Showing
Please register or sign in to comment