Ejemplo n.º 1
0
def CreatedAnnotator(object, event=None):
    dc = IDCTimes(object, None)
    if dc is not None:
        now = datetime.now()
        dc.created = now
        dc.modified = now
Ejemplo n.º 2
0
def ModifiedAnnotator(object, event=None):
    dc = IDCTimes(object, None)
    if dc is not None:
        dc.modified = datetime.now()