1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-06-07 09:04:00 -04:00
Michael Vetter 40d9dcae87 Properly display chatwin history
So far if one had enabled `/history` and did `/msg somenick` the history
was loaded from file and displayed like this:

```
04-04-17 15:23 - 3/4/2017:
01-01-00 10:30 - me: ....
01-01-00 10:31 - somebody: ....
01-01-00 10:32 - somebody: ....
```

So the first line contained the actual date. But the date used in each
line was always 01-01-2000. This date was for some reason hardcoded.

This commit now actually uses that date to build the proper GDateTime
instead of just printing it.

Fix https://github.com/profanity-im/profanity/issues/922
2019-10-21 15:26:40 +02:00
..
2019-10-14 00:19:08 +03:00
2019-10-16 10:54:05 +02:00
2019-10-19 23:24:33 +02:00
2019-08-23 10:18:20 +02:00
2019-02-20 11:53:40 +01:00
2019-10-21 15:26:40 +02:00
2019-10-21 10:28:29 +02:00
2019-10-21 15:26:40 +02:00
2019-06-20 14:30:45 +02:00