Changes between Version 37 and Version 38 of S3XRC/ResourceReport
- Timestamp:
- 08/29/10 12:51:39 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3XRC/ResourceReport
v37 v38 346 346 # Date from 347 347 if form.vars.date_from: 348 from = datetime.combine(form.vars.date_from, time(0, 0,0))348 from = datetime.combine(form.vars.date_from, time(0, 0, 0)) 349 349 date_query = (table.timestmp >= from) 350 350 351 351 # Date until 352 352 if form.vars.date_until: 353 until = datetime.combine(form.vars.date_until +timedelta(days=1), time(0,0,0))353 until = datetime.combine(form.vars.date_until + timedelta(days=1), time(0, 0, 0)) 354 354 q = (table.timetmp <= until) 355 355 if date_query: