mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
Fix CurrentLocalTime format
This commit is contained in:
parent
6b1eca2873
commit
7bda46a39a
1 changed files with 1 additions and 1 deletions
|
|
@ -1029,7 +1029,7 @@ int dm_time_format(time_t ts, char **dst)
|
|||
if (t_tm == NULL)
|
||||
return -1;
|
||||
|
||||
if(strftime(time_buf, sizeof(time_buf), "%Y-%m-%dT%H:%M:%SZ", t_tm) == 0)
|
||||
if(strftime(time_buf, sizeof(time_buf), "%Y-%m-%dT%H:%M:%S%z", t_tm) == 0)
|
||||
return -1;
|
||||
|
||||
*dst = dmstrdup(time_buf);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue