[COREblog-en] Change posting dates

Mikel Larreategi mlarreategi at codesyntax.com
Wed Feb 9 09:41:24 CET 2005


I've writen a patch to enable date changing in posts.

I've changed manage_editEntryForm.dtml to show a field with the posting 
date, ObjectBase.py to change the date, and Entry.py to remove old 
posting date from datemap, call ObjectBase date change method, and add 
new date to datemap.

I've created 3 patch files for those files, and I attach them to this 
message. You can apply them executing this command for each file in the 
original directory where they are (COREBlog for ObjectBase and Entry and 
COREBlog/dtml for manage_editEntryForm):

$ patch -p0 < file_name

Well, these 3 files are my first patch files. I've tested them and they 
seem to be OK.

Best regards,

-- 
Mikel Larreategi
mlarreategi at codesyntax.com

CodeSyntax
Azitaingo Industrialdea 3 K
E-20600 Eibar
Tel: (+34) 943 82 17 80
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Entry.diff
Type: text/x-patch
Size: 1061 bytes
Desc: not available
URL: <http://postaria.com/pipermail/coreblog-en/attachments/20050209/68c7af5a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ObjectBase.diff
Type: text/x-patch
Size: 412 bytes
Desc: not available
URL: <http://postaria.com/pipermail/coreblog-en/attachments/20050209/68c7af5a/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: manage_editEntryForm.diff
Type: text/x-patch
Size: 706 bytes
Desc: not available
URL: <http://postaria.com/pipermail/coreblog-en/attachments/20050209/68c7af5a/attachment-0002.bin>


More information about the COREblog-en mailing list