Back to index

plone3  3.1.7
Namespaces | Functions | Variables
date_components_support.py File Reference

Go to the source code of this file.

Namespaces

namespace  date_components_support

Functions

def date_components_support.month_names

Variables

int date_components_support.default = 0
list date_components_support.years = []
list date_components_support.days = []
list date_components_support.months = []
list date_components_support.hours = []
list date_components_support.minutes = []
list date_components_support.ampm = []
tuple date_components_support.now = DateTime()
tuple date_components_support.CEILING = DateTime(9999, 0)
tuple date_components_support.FLOOR = DateTime(1970, 0)
tuple date_components_support.PLONE_CEILING = DateTime(2021,0)
tuple date_components_support.date = date.strip()
 date_components_support.site_properties = context.portal_properties.site_properties
tuple date_components_support.min_year = site_properties.getProperty('calendar_starting_year', 1999)
tuple date_components_support.max_year = site_properties.getProperty('calendar_future_years_available', 5)
tuple date_components_support.year = int(date.strftime('%Y'))
dictionary date_components_support.d = {'id': x, 'value': x, 'selected': None}
tuple date_components_support.month = int(date.strftime('%m'))
tuple date_components_support.day = int(date.strftime('%d'))
list date_components_support.hours_range = [12]
string date_components_support.hour_default = '12'
tuple date_components_support.hour = int(date.strftime('%I'))
tuple date_components_support.minute = int(date.strftime('%M'))
tuple date_components_support.p = date.strftime('%p')