b5036b5 ipatests: use whole date for journalctl --since

Authored and Committed by frenaud 2 years ago
    ipatests: use whole date for journalctl --since
    
    When a test is executed around midnight and is checking the
    journal content with --since=date, it needs to specify the
    whole date (with day and time) to avoid missing entries.
    
    If for instance --since=23:59:00 is used and the current time is
    now 00:01:00, --since=23:59:00 would refer to a date in the
    future and no journal entry will be found.
    
    Fixes: https://pagure.io/freeipa/issue/8953
    Reviewed-By: Stanislav Levin <slev@altlinux.org>
    Reviewed-By: Francois Cami <fcami@redhat.com>