aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/quarg/database (follow)
Commit message (Collapse)AuthorAgeLines
* Handle timezones correctlyWolfgang Müller2021-05-02-2/+18
| | | | | | | | | | | | | | | | | | | | Quassel uses UTC message timestamps in its database, but does not save any timezone information along with them. Up until now, we were reading those timestamps from the database naively - resulting in datetime objects that could not be identified as UTC. The same happened with timestamps we got from dateutil.isoparse. If the user did not specify an offset explicitly, the timestamp would be parsed and passed to the program "as is", effectively being interpreted as UTC because they were compared to database timestamps. This commit will ensure that the correct timezone is saved for every datetime object we encounter. Timestamps from the database are marked as UTC. If the user does not explicitly specify an offset, the timestamp is assumed to be in local time. Furthermore, when printing out message timestamps, make sure to convert them to the user's local timezone first.
* tables: Fix up a note, add another for the Network tableWolfgang Müller2021-05-01-2/+4
|
* Rename 'prefix' to 'umode'Wolfgang Müller2021-04-29-2/+2
| | | | | | | | | Whilst still not perfect, 'umode' signals more closely what this option does. We do not plan to add matching on channel modes, so -m should be fine here. The original name for this option came from the column in the backlog table, 'senderprefixes'.
* filters: Rename time_from and time_toWolfgang Müller2021-04-28-4/+4
| | | | | These make more sense and are clearer if they're named after the command line arguments that trigger them.
* Initial prototypeWolfgang Müller2021-04-28-0/+116