[Baypiggies] strftime("%x") inconsistent?
Keith Dart
keith at dartworks.biz
Tue Nov 10 00:44:48 CET 2009
=== On Mon, 11/09, Paul McNett wrote: ===
> Am I forgetting a step?
===
Works for me on my system:
Python> import locale
Python> import datetime
Python> import time
Python>
Python> locale.setlocale(locale.LC_ALL, "")
'en_US.UTF-8'
Python>
Python> d = datetime.date.today()
Python>
Python> print time.strftime("%x", d.timetuple())
11/09/2009
Python>
Do you have your LANG or LC_* set on your systems?
-- Keith Dart
--
-- --------------------
Keith Dart
<keith at dartworks.biz>
=======================
More information about the Baypiggies
mailing list