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.
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.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator