insert_event #1

Merged
bjoernf merged 16 commits from insert_event into master 2023-09-09 08:26:50 +02:00
Showing only changes of commit 2264fc06ef - Show all commits

View File

@ -4,8 +4,8 @@
#include <time.h>
#include <string.h>
// buffer needs to contain this string: "xxxxxxxxTxxxxxx"
// or "YYYYmmddTHHMMSSZ"
// buffer needs to contain a string with a strlen of 15 (format: "xxxxxxxxTxxxxxx")
// or a strlen of 16 (format: "YYYYmmddTHHMMSSZ")
void get_date(char buffer[]) {
// add 1 because strlen does not include the null character
size_t buffer_size = strlen(buffer) + 1;