mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Cleanup
This commit is contained in:
parent
bb2b4e30b2
commit
2e7da862c8
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ char *timestamp_current_time(void)
|
|||
len = strftime(time_string, sizeof(time_string), "%Y-%m-%dT%H:%M:%S", tm);
|
||||
break;
|
||||
case TIMESTAMP_EPOCH:
|
||||
// "1223" (seconds since Unix epoch, 1970-01-01 00:00:00Z)
|
||||
// "N.sss" (seconds since Unix epoch, 1970-01-01 00:00:00Z)
|
||||
tv = tv_now;
|
||||
tm = localtime(&tv.tv_sec);
|
||||
len = strftime(time_string, sizeof(time_string), "%s", tm);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue