Skip to content

Commit 9bb8d62

Browse files
author
Richard Jones
committed
merge from HEAD
1 parent 369dde4 commit 9bb8d62

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

CHANGES.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@ are given with the most recent entry first.
33

44
2004-??-?? 0.6.6
55
Fixed:
6-
- don't insert spaces into designators, it just confuses users (sf bug 898087)
6+
- don't insert spaces into designators, it just confuses users (sf bug
7+
898087)
78
- Eudora can't handle utf-8 headers. We love Eudora. (sf bug 900046)
9+
- fixed bug in args to new DateHTMLProperty in the local() method (sf bug
10+
901444)
811

912

1013
2004-02-16 0.6.5

roundup/cgi/templating.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,8 +1031,8 @@ def now(self):
10311031
This is useful for defaulting a new value. Returns a
10321032
DateHTMLProperty.
10331033
'''
1034-
return DateHTMLProperty(self._client, self._nodeid, self._prop,
1035-
self._formname, date.Date('.'))
1034+
return DateHTMLProperty(self._client, self._classname, self._nodeid,
1035+
self._prop, self._formname, date.Date('.'))
10361036

10371037
def field(self, size = 30):
10381038
''' Render a form edit field for the property
@@ -1075,8 +1075,8 @@ def pretty(self, format=_marker):
10751075
def local(self, offset):
10761076
''' Return the date/time as a local (timezone offset) date/time.
10771077
'''
1078-
return DateHTMLProperty(self._client, self._nodeid, self._prop,
1079-
self._formname, self._value.local(offset))
1078+
return DateHTMLProperty(self._client, self._classname, self._nodeid,
1079+
self._prop, self._formname, self._value.local(offset))
10801080

10811081
class IntervalHTMLProperty(HTMLProperty):
10821082
def plain(self):

0 commit comments

Comments
 (0)