[ZCM] [ZC] 887/ 3 Comment "new format in DateTime proposed"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin@zope.org
Wed, 23 Apr 2003 08:16:44 -0400


Issue #887 Update (Comment) "new format in DateTime proposed"
 Status Pending, Zope/feature+solution medium
To followup, visit:
  http://collector.zope.org/Zope/887

==============================================================
= Comment - Entry #3 by efge on Apr 23, 2003 8:16 am

Agreed, there's no need to add this to core Zope, it can very well live as a separate product.

________________________________________
= Comment - Entry #2 by ajung on Apr 23, 2003 7:54 am

Aren't there already enough methods in DateTime.py?
You can wrap your stuff into a PythonScript to make the conversion.
There is little need for yet another output method especially this
this one is not needed very often. 
________________________________________
= Request - Entry #1 by lucas on Apr 23, 2003 7:47 am


Uploaded:  "DateTime.diff"
 - http://collector.zope.org/Zope/887/DateTime.diff/view
I needed a dateformat which displays dateTime object close to now with a higher resolution, somewhat like unix 's ls -l format. Probably it is usefull for others too.

Objects refering to today are formatted as hh:mm
Objects referring to the same year are formatted as mmm dd, hh:mm
Otherwise the object is formatted as mmm dd, yyyy

I have included a diff (relative to version 1.74.2.2) Could someone be so kind to include this in CVS?

Regards, Lucas
==============================================================