The Battle for Wesnoth 1.21.0-dev
 
Loading...
Searching...
No Matches
Namespaces | Functions
format_timespan.hpp File Reference
#include "formula/string_utils.hpp"
#include "serialization/chrono.hpp"
#include <array>
#include <chrono>
#include <string>
#include <vector>
Include dependency graph for format_timespan.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  utils
 

Functions

template<typename Rep , typename Period >
static std::string utils::format_timespan (const std::chrono::duration< Rep, Period > &span, bool detailed=false)
 Formats a timespan into human-readable text for player authentication functions.