Skip to content

Commit

Permalink
check of std::chrono::current_zone()->name() error in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Rashesh Padia <[email protected]>
Change-Id: Ic365c17c69cc5a6d96917df490bd7423197d59d2
  • Loading branch information
Rash419 committed Aug 7, 2024
1 parent 37f7c2f commit 4053d00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wsd/ClientRequestDispatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

#include "Log.hpp"
#include <chrono>
#include <config.h>
#include <config_version.h>

Expand Down Expand Up @@ -2080,6 +2082,7 @@ static std::string getCapabilitiesJson(bool convertToAvailable)
if (geoLocationSetup)
{
std::string timezoneName = getIANATimezone();
LOG_DBG(std::chrono::current_zone()->name());
if (!timezoneName.empty())
capabilities->set("timezone", std::string(timezoneName));
}
Expand Down

0 comments on commit 4053d00

Please sign in to comment.