blob: 1b9d1befa2ac3cd27bf078a2a2958efb496f293f [file] [log] [blame]
#include <errno.h>
#include "libc.h"
#include "time_impl.h"
struct tm* __gmtime_r(const time_t* restrict, struct tm* restrict);
struct tm* __localtime_r(const time_t* restrict t, struct tm* restrict tm) {
// By design the system local time is always UTC.
return __gmtime_r(t, tm);
}
weak_alias(__localtime_r, localtime_r);