tickets: 8423
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8423 | 2008-08-19 18:14:36 | 2008-08-19 18:23:59 | 2022-03-06 03:42:13.633570 | Unreviewed | closed | Database layer (models, ORM) | dev | duplicate | Implement time filters | As of r8442, it is possible to filter a queryset by year, month or day using the usual syntax: {{{ Event.objects.filter(start_time__year=2008) Article.objects.filter(pub_date__month=11, pub_date__day=3) }}} However, filters for hours, minutes and seconds were missing. I have added those in a patch for your consideration along with unit tests and documentation. | nobody | gnuvince | datetime filter hour minute second | 0 | 1 | 0 | 0 | 0 | 0 |