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

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

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/browser/datecomponents.py   Products.Archetypes(Download)
            # than failing altogether!
            timeZoneDate = DateTime(localtime().tm_year, *date.parts()[1:])
            local_zone = date.localZone(localtime(timeZoneDate.timeTime()))
        date = date.toZone(local_zone)
 

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/browser/datecomponents.py   Products.Archetypes(Download)
            # than failing altogether!
            timeZoneDate = DateTime(localtime().tm_year, *date.parts()[1:])
            local_zone = date.localZone(localtime(timeZoneDate.timeTime()))
        date = date.toZone(local_zone)
 

src/m/e/medialog.boardfile-1.6.1/medialog/boardfile/browser/views.py   medialog.boardfile(Download)
        # (0.9 * interval) then set lastTick to the current time and
        # execute _notify(). Otherwise do nothing.
        if current.timeTime() - last.timeTime() >= 0.9 * interval:
            self.setLastTick(current)
            notify(TickEvent(current,self.getNextTickEstimation(

src/c/o/collective.timedevents-0.3/collective/timedevents/views.py   collective.timedevents(Download)
        # (0.9 * interval) then set lastTick to the current time and
        # execute _notify(). Otherwise do nothing.
        if current.timeTime() - last.timeTime() >= 0.9 * interval:
            self.setLastTick(current)
            notify(TickEvent(current,self.getNextTickEstimation(

src/p/r/Products.ZopeVersionControl-1.1.3/Products/ZopeVersionControl/Repository.py   Products.ZopeVersionControl(Download)
                        )
                else:
                    timestamp = date.timeTime()
                    sticky = ('D', timestamp)
                    # Fix!
                        )
                else:
                    timestamp = date.timeTime()
                    sticky = ('D', timestamp)
                    version = history.getVersionByDate('mainline', timestamp)

src/e/r/erp5-HEAD/product/ERP5Type/patches/CachingPolicyManager.py   erp5(Download)
                mtime = DateTime( mtime )
            if mtime is not None:
                mtime_str = rfc1123_date(mtime.timeTime())
                headers.append( ( 'Last-modified', mtime_str ) )
 

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/CachingPolicyManager.py   Products.CMFCore(Download)
                    mtime = DateTime( mtime )
                if mtime is not None:
                    mtime_str = rfc1123_date(mtime.timeTime())
                    headers.append( ( 'Last-modified', mtime_str ) )