revert 27204: change import for discussion modification_date from datetime to DateTime.

svn path=/plone.app.discussion/trunk/; revision=27213
This commit is contained in:
Timo Stollenwerk 2009-05-30 06:08:44 +00:00
parent 4b6b0aeb02
commit 751ae5a06a
1 changed files with 23 additions and 23 deletions

View File

@ -1,6 +1,6 @@
"""The default comment class and factory.
"""
from DateTime import DateTime
from datetime import datetime
from zope.interface import implements
from zope.component.factory import Factory
@ -50,7 +50,7 @@ class Comment(DynamicType, Traversable, RoleManager, Owned, Explicit):
# IConversation.addComment().
def __init__(self):
self.creation_date = self.modification_date = DateTime()
self.creation_date = self.modification_date = datetime.now()
@property
def __name__(self):