Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(63)  |  Call(63)  |  Derive(0)  |  Import(0)

src/g/r/gramps-3.4.2/src/plugins/webreport/NarrativeWeb.py   Gramps(Download)
        # position 2 = data
        return [
               (_("Date"),  "ColumnDate",  _dd.display(evt.get_date_object()) ),
               (_("Place"), "ColumnPlace", place_hyper),
               (_("Description"), "ColumnDescription", evt_desc)]
                        for (value, colclass) in [
                            (ord.type2xml(),                                   "ColumnType"),
                            (_dd.display(ord.get_date_object()),               "ColumnDate"),
                            (ord.get_temple(),                                 "ColumnLDSTemple"),
                            (place_hyper,                                      "ColumnLDSPlace"),
 
                    addr_data_row = [
                        (_dd.display(address.get_date_object()), "ColumnDate"),
                        (address.get_street(),                   "ColumnStreetAddress"),
                        (address.get_locality(),                 "ColumnLocality"),
            msg = _('Generated by <a href = "%(homepage)s">'
                    'Gramps</a> %(version)s on %(date)s') % {
                'date': _dd.display(date.Today()), 
                'homepage' : const.URL_HOMEPAGE,
                'version': const.VERSION}
                        confidence = None
                    for (label, data) in [
                                          [_("Date"),       _dd.display(sref.date)],
                                          [_("Page"),       sref.page],
                                          [_("Confidence"), confidence] ]:

src/g/r/gramps-3.4.2/src/gui/views/treemodels/familymodel.py   Gramps(Download)
        if event:
            if event.date.format:
                return event.date.format % DateHandler.displayer.display(event.date)
            elif not DateHandler.get_date_valid(event):
                return invalid_date_format % DateHandler.displayer.display(event.date)
            else:
                return "%s" % DateHandler.displayer.display(event.date)

src/g/r/gramps-3.4.2/src/Simple/_SimpleAccess.py   Gramps(Download)
                    date_obj = event.get_date_object()
                    if date_obj:
                        return DateHandler.displayer.display(date_obj)
        return u''
 
                            date_obj = events[0].get_date_object()
                            if date_obj:
                                return DateHandler.displayer.display(date_obj)
        return u''
 
        """
        if date_obj:
            return DateHandler.displayer.display(date_obj)
        else:
            return u''
        date_obj = event.get_date_object()
        if date_obj:
            return DateHandler.displayer.display(date_obj)
        else:
            return u''

src/g/r/gramps-3.4.2/src/gen/plug/report/endnotes.py   Gramps(Download)
    if datepresent:
        if ref.get_page():
            ref_txt = "%s - %s" % (ref.get_page(), displayer.display(date))
        else:
            ref_txt =  displayer.display(date)

src/g/r/gramps-3.4.2/src/plugins/quickview/AgeOnDate.py   Gramps(Download)
    if date.get_day_valid():
        sdoc.title(_("People probably alive and their ages the %s") % 
               DateHandler.displayer.display(date))
    else:
        sdoc.title(_("People probably alive and their ages on %s") % 
               DateHandler.displayer.display(date))

src/g/r/gramps-3.4.2/src/gui/editors/editfamily.py   Gramps(Download)
            name_obj.set_text(name)
        if birth:
            birth_str = DateHandler.displayer.display(birth.get_date_object())
        else:
            birth_str = ""
        birth_obj.set_text(birth_str)
        if death:
            death_str = DateHandler.displayer.display(death.get_date_object())

src/g/r/gramps-3.4.2/src/Filters/SideBar/_PersonSidebarFilter.py   Gramps(Download)
                    gen.lib.Date.CAL_GREGORIAN, (0, 0, 1850, False))
 
        msg1 = DateHandler.displayer.display(exdate1)
        msg2 = DateHandler.displayer.display(exdate2)
 

src/g/r/gramps-3.4.2/src/plugins/view/relview.py   Gramps(Download)
 
            value = {
                'date' : DateHandler.displayer.display(dobj), 
                'place' : pname, 
                }
 
            value = {
                'date' : DateHandler.displayer.display(dobj), 
                'place' : pname, 
                }
 
            value = {
                'date' : DateHandler.displayer.display(dobj), 
                'place' : pname, 
                'event_type' : ename, 

src/g/r/gramps-3.4.2/src/plugins/graph/GVFamilyLines.py   Gramps(Download)
                        birthStr = '%i' % date.get_year()
                    else:
                        birthStr = _dd.display(date)
 
            # get birth place (one of:  city, state, or country) we can use
                        deathStr = '%i' % date.get_year()
                    else:
                        deathStr = _dd.display(date)
 
            # get death place (one of:  city, state, or country) we can use
                                    weddingDate = '%i' % date.get_year()
                                else:
                                    weddingDate = _dd.display(date)
                            # get the wedding location
                            if self._incplaces:

src/g/r/gramps-3.4.2/src/DateHandler/_DateUtils.py   Gramps(Download)
 
    """
    return displayer.display(date_base.get_date_object())
 
def get_date_valid(date_base):

  1 | 2 | 3  Next