ics_cli/unit-tests/test_pretty_print_date_time.c

15 lines
378 B
C
Raw Normal View History

2024-07-10 16:42:43 +02:00
#include "../src/date_time_handling.h"
#include <stdio.h>
int main() {
char current_date[] = "20240710T103000";
printf("current_date: %s\n", current_date);
printf("strlen(current_date): %ld\n\n", strlen(current_date));
pretty_print_date_time(current_date);
printf("\n\ncurrent_date: %s\n", current_date);
printf("strlen(current_date): %ld\n", strlen(current_date));
}