Return the current time and date as a datetime.
(self)
| 1109 | return find_deprecated_settings(c) |
| 1110 | |
| 1111 | def now(self): |
| 1112 | """Return the current time and date as a datetime.""" |
| 1113 | now_in_utc = to_utc(datetime.now(datetime_timezone.utc)) |
| 1114 | return now_in_utc.astimezone(self.timezone) |
| 1115 | |
| 1116 | def select_queues(self, queues=None): |
| 1117 | """Select subset of queues. |
no test coverage detected