#include "libkydate.h"

#include <QByteArray>

namespace {

QByteArray g_shortFormat("yyyy/MM/dd");

}

extern "C" char *kdk_system_get_shortformat(void)
{
    return qstrdup(g_shortFormat.constData());
}

extern "C" void kdk_test_set_shortformat(const char *format)
{
    g_shortFormat = format ? format : "";
}
