Mercurial > p > roundup > code
comparison roundup/cgi/templating.py @ 8387:389b62b1d65b
doc: formatting fixes.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 12 Jul 2025 17:59:27 -0400 |
| parents | 411cebfad3fd |
| children | ef1ea918b07a |
comparison
equal
deleted
inserted
replaced
| 8386:4e2ffa4151cb | 8387:389b62b1d65b |
|---|---|
| 3628 return render_keywords_expression_editor(request) | 3628 return render_keywords_expression_editor(request) |
| 3629 | 3629 |
| 3630 def html_calendar(self, request): | 3630 def html_calendar(self, request): |
| 3631 """Generate a HTML calendar. | 3631 """Generate a HTML calendar. |
| 3632 | 3632 |
| 3633 `request` the roundup.request object | 3633 `request` - the roundup.request object |
| 3634 - @template : name of the template | 3634 - @template : name of the template |
| 3635 - form : name of the form to store back the date | 3635 - form : name of the form to store back the date |
| 3636 - property : name of the property of the form to store | 3636 - property : name of the property of the form to store |
| 3637 back the date | 3637 back the date |
| 3638 - date : current date | 3638 - date : date marked as current value on calendar |
| 3639 - display : when browsing, specifies year and month | 3639 - display : when browsing, specifies year and month |
| 3640 | 3640 |
| 3641 html will simply be a table. | 3641 html will simply be a table. |
| 3642 """ | 3642 """ |
| 3643 tz = request.client.db.getUserTimezone() | 3643 tz = request.client.db.getUserTimezone() |
| 3644 current_date = date.Date(".").local(tz) | 3644 current_date = date.Date(".").local(tz) |
