File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -671,9 +671,10 @@ def submit(self, label="Submit Changes"):
671671
672672 Also sneak in the lastactivity and action hidden elements.
673673 """
674- return self .input (type = "hidden" , name = "@lastactivity" , value = date .Date ('.' )) + '\n ' + \
675- self .input (type = "hidden" , name = "@action" , value = "edit" ) + '\n ' + \
676- self .input (type = "submit" , name = "submit" , value = label )
674+ return self .input (type = "hidden" , name = "@lastactivity" ,
675+ value = self .activity ) + '\n ' + \
676+ self .input (type = "hidden" , name = "@action" , value = "edit" ) + '\n ' + \
677+ self .input (type = "submit" , name = "submit" , value = label )
677678
678679 def journal (self , direction = 'descending' ):
679680 ''' Return a list of HTMLJournalEntry instances.
Original file line number Diff line number Diff line change 1515# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717#
18- # $Id: date.py,v 1.67 2004-05-05 00:38:59 richard Exp $
18+ # $Id: date.py,v 1.68 2004-05-06 02:35:46 richard Exp $
1919
2020"""Date, time and time interval handling.
2121"""
@@ -108,7 +108,7 @@ class Date:
108108 >>> d1-i1
109109 <Date 2003-07-01.00:00:0.000000>
110110 '''
111-
111+
112112 def __init__ (self , spec = '.' , offset = 0 , add_granularity = 0 ):
113113 """Construct a date given a specification and a time zone offset.
114114
You can’t perform that action at this time.
0 commit comments