All pastes #83276 Raw Edit

Something

public text v1 · immutable
·published 2006-07-09 16:05 UTC
rendered paste body
I'm seeing weirdness (I think) in strftime behavior of debian
python2.4; datetime.datetime.now() is ok, but now().strftime() seems
be incorrect... 

# today's date
datetime.datetime.now()
  -> datetime.datetime(2006, 7, 9, 8, 1, 12, 496755)

# is strftime broken?
datetime.datetime.now().strftime('%b/%m/%Y %H:%M:%S')
  -> 'Jul/07/2006 08:03:26'