Changeset 15882


Ignore:
Timestamp:
11 Dec 2019, 16:16:06 (5 years ago)
Author:
Henrik Bettermann
Message:

Replace date by 'OE' if year == 2099.

File:
1 edited

Legend:

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

    r14646 r15882  
    300300    def formatTZDate(self,datetimeobj):
    301301        if isinstance(datetimeobj, datetime):
     302            if datetimeobj.year == 2099:
     303                return _('OE')
    302304            tz = getUtility(IKofaUtils).tzinfo
    303305            date = to_timezone(
Note: See TracChangeset for help on using the changeset viewer.