578
579
theme = active_win->theme != NULL ? active_win->theme : current_theme;
579
580
format_create_dest(&dest, NULL, NULL, MSGLEVEL_NEVER, window);
580
581
format = format_get_text_theme(theme, MODULE_NAME, &dest,
582
if (strftime(str, sizeof(str), format, tm) <= 0)
583
ret = strftime(str, sizeof(str), format, tm);
586
587
printtext_string_window(window, MSGLEVEL_NEVER, str);