mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #3138] [CLOSED] Fix deprecated localtime warning in savedata dialog #3252
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#3252
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/3138
Author: @dalathegreat
Created: 6/21/2025
Status: ❌ Closed
Base:
main← Head:main📝 Commits (3)
1bff425fix(savedata): replace deprecated fmt::localtime with modern chrono formatting466ebbfAdd MacOS fallback ifdef520532eClang formatting📊 Changes
1 file changed (+6 additions, -1 deletions)
View changed files
📝
src/core/libraries/save_data/dialog/savedatadialog_ui.cpp(+6 -1)📄 Description
What
This PR replaces fmt::localtime(std::chrono::system_clock::to_time_t(...)) with direct std::chrono formatting
Why
It should be possible to compile without deprecation warnings
How
The change is purely technical (no functionality change)
Further improvements; This fixes Windows and Linux builds, MacOS is still built the old way.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.