/*
 SPDX-License-Identifier: GPL-3.0-or-later
 myMPD (c) 2018-2026 Juergen Mang <mail@jcgames.de>
 https://github.com/jcorporation/mympd
*/

#include "compile_time.h"
#include "utility.h"

#include "dist/utest/utest.h"
#include "src/lib/datetime.h"

UTEST(datetime, test_parse_date) {
    const char *str1 = "2023-11-05";
    time_t ts = parse_date(str1);
    ASSERT_NE(ts, 0);
}
