mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-22 07:30:43 +00:00
windows/time iterate
This commit is contained in:
parent
d823323bd9
commit
4ac25bb924
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ char* mlr_alloc_time_string_from_seconds(time_t seconds, char* format) {
|
|||
time_t mlr_seconds_from_time_string(char* string, char* format) {
|
||||
struct tm tm;
|
||||
memset(&tm, 0, sizeof(tm));
|
||||
char* retval = strptime(string, format, &tm);
|
||||
char* retval = mlr_arch_strptime(string, format, &tm);
|
||||
if (retval == NULL) {
|
||||
fprintf(stderr, "%s: could not strptime(\"%s\", \"%s\"). See \"%s --help-function strptime\".\n",
|
||||
MLR_GLOBALS.bargv0, string, format, MLR_GLOBALS.bargv0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue