d3d11 debug layer exceptions; decimal enum displays; local time display in filesystem lister

This commit is contained in:
Ryan Fleury
2024-01-19 18:42:05 -08:00
parent f48d8431c0
commit 6a7dd334ff
4 changed files with 18 additions and 7 deletions
+2 -1
View File
@@ -2450,7 +2450,8 @@ DF_VIEW_UI_FUNCTION_DEF(FileSystem)
UI_TextColor(df_rgba_from_theme_color(DF_ThemeColor_WeakText))
{
DateTime time = date_time_from_dense_time(file->props.modified);
String8 string = push_date_time_string(scratch.arena, &time);
DateTime time_local = os_local_time_from_universal_time(&time);
String8 string = push_date_time_string(scratch.arena, &time_local);
ui_label(string);
}