This commit is contained in:
Your Name 2024-09-29 19:06:31 +03:00
parent bfb3d3b2fb
commit 04ff3cf8e7
8 changed files with 135 additions and 132 deletions

18
libmu/parse_date.h Normal file
View file

@ -0,0 +1,18 @@
#ifndef _PARSE_DATE_H
#define _PARSE_DATE_H
static const char *mu_date_fmts[] = {
"%R",
"%T",
"%d-%m",
"%d-%m %H",
"%d-%m %R",
"%d-%m %T",
"%d-%m-%Y",
"%d-%m-%Y %H",
"%d-%m-%Y %R",
"%d-%m-%Y %T"
};
time_t mu_parse_date(const char *prog_name, const char *str);
#endif