diff options
| author | Toni500github <88878648+Toni500github@users.noreply.github.com> | 2024-10-11 13:19:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-11 12:19:16 +0100 |
| commit | 7564b26b7d386d248eaa47c1a481c09eefd8e3ca (patch) | |
| tree | a69321b879c4f4b2ab44466963a3126f981a9864 /hyprpm/src/core/PluginManager.cpp | |
| parent | 178a300eeaf006fed4c8c9a599657b4530f65559 (diff) | |
internal: improve version query and define HYPRLAND_VERSION (#8034)
Diffstat (limited to 'hyprpm/src/core/PluginManager.cpp')
| -rw-r--r-- | hyprpm/src/core/PluginManager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hyprpm/src/core/PluginManager.cpp b/hyprpm/src/core/PluginManager.cpp index 612995dc..96ec60ad 100644 --- a/hyprpm/src/core/PluginManager.cpp +++ b/hyprpm/src/core/PluginManager.cpp @@ -440,8 +440,7 @@ bool CPluginManager::updateHeaders(bool force) { // let us give a bit of leg-room for shallowing // due to timezones, etc. - const std::string SHALLOW_DATE = - trim(HLVER.date).empty() ? "" : execAndGet("LC_TIME=\"en_US.UTF-8\" date --date='" + HLVER.date + " - 1 weeks' '+\%a \%b \%d \%H:\%M:\%S \%Y'"); + const std::string SHALLOW_DATE = trim(HLVER.date).empty() ? "" : execAndGet("LC_TIME=\"en_US.UTF-8\" date --date='" + HLVER.date + " - 1 weeks' '+%a %b %d %H:%M:%S %Y'"); if (m_bVerbose && bShallow) progress.printMessageAbove(std::string{Colors::BLUE} + "[v] " + Colors::RESET + "will shallow since: " + SHALLOW_DATE); |
