about summary refs log tree commit diff stats
path: root/tests/functionaltests/test_carbons.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-10-21 15:26:40 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-10-21 15:26:40 +0200
commit40d9dcae87a7198b1dfcc5b8437728310c78ae70 (patch)
tree42ec913e93de4270fa6975c458843edb31aecd9e /tests/functionaltests/test_carbons.c
parentef19b45e64af23adc9433cbdb079269968a941ac (diff)
downloadprofani-tty-40d9dcae87a7198b1dfcc5b8437728310c78ae70.tar.gz
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
Diffstat (limited to 'tests/functionaltests/test_carbons.c')
0 files changed, 0 insertions, 0 deletions