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

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

src/p/r/Products.eXtremeManagement-2.1a7/Products/eXtremeManagement/browser/bookings.py   Products.eXtremeManagement(Download)
                        ui_class = 'greyed'
                    daylist.append(dict(total=formatTime(day_total),
                                        day_of_week=date.Day(),
                                        style=ui_class))
                else:
                    daylist.append(dict(total=None, day_of_week=date.Day(),

src/p/r/Products.PloneBooking-3.0.0a2/Products/PloneBooking/content/Booking.py   Products.PloneBooking(Download)
        while pos >= 0:
            # decrease pos when the day name is found
            if ref_date.Day() == day_name:
                pos = pos - 1
 
 
            #cool, we find the day
            if ref_date.Day() == day_name and pos == 0:
                return ref_date
 

src/p/r/Products.eXtremeManagement-2.1a7/Products/eXtremeManagement/browser/bookings.py   Products.eXtremeManagement(Download)
            if day_total > 0:
                self.bookinglist.append((date, days_bookings.total(date=date),
                                         date.Day()))
                self.raw_total += day_total
            day += 1