Ignore:
Timestamp:
16 Apr 2012, 21:07:28 (13 years ago)
Author:
Henrik Bettermann
Message:

Part 2: Consider time zone when creating datetime strings for histories, filenames etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py

    r8182 r8183  
    828828            return
    829829        IWorkflowInfo(self.context).fireTransition('submit')
    830         self.context.application_date = datetime.now()
     830        tz = getUtility(IKofaUtils).tzinfo
     831        self.context.application_date = datetime.now(tz)
    831832        self.context.locked = True
    832833        self.flash(_('Form has been submitted.'))
Note: See TracChangeset for help on using the changeset viewer.