now=$(date +%s)
sqlite3 -separator ' ' /p/c/subdir_files/.local/share/gajim/logs.db "select time, message from logs where contact_name = 'iank' and jid_id = 17;" | while read -r time l; do
case $time in
- ${now:0:3}*) : ;;
+ 16*) : ;;
*) continue ;;
esac
if ! time_pretty=$(date +%F.%R -d @$time); then