project_files/hwc/rtl/sysutils.c
changeset 15899 6cb7330113d8
parent 14934 68e1783762bc
equal deleted inserted replaced
15898:1878d95d6e15 15899:6cb7330113d8
    81 }
    81 }
    82 
    82 
    83 // Semi-dummy implementation of FormatDateTime
    83 // Semi-dummy implementation of FormatDateTime
    84 string255 fpcrtl_formatDateTime(string255 FormatStr, TDateTime DateTime)
    84 string255 fpcrtl_formatDateTime(string255 FormatStr, TDateTime DateTime)
    85 {
    85 {
    86     string255 buffer = STRINIT(FormatStr.str);
    86     string255 buffer = FormatStr;
    87     time_t rawtime;
    87     time_t rawtime;
    88     struct tm* my_tm;
    88     struct tm* my_tm;
    89 
    89 
    90     // DateTime is ignored, always uses current time.
    90     // DateTime is ignored, always uses current time.
    91     // TODO: Use DateTime argument properly.
    91     // TODO: Use DateTime argument properly.