11 Oct
2004
11 Oct
'04
8:09 p.m.
On Mon, 2004-10-11 at 20:59 +0100, Cliff Ford wrote:
This bit of python:
return DateTime(d).strftime('%H:%M, %a %d %b, %Y')
giving this error:
Error Type: TypeError Error Value: int() argument must be a string or a number
means that your item.data is neither an integer nor a string. You could try to find out what it contains. For example, if you put in this temporary line you should get the content:
return d this just returns the full date (es. 2004-10-11 19:14:47)
return DateTime(d).strftime('%H:%M, %a %d %b, %Y')
Cliff
thanks for your patience massimo