std::formatter<std::chrono::zoned_time>

Header: <chrono>

Specialization of std::formatter that defines formatting rules for a std::chrono::zoned_time.

# Declarations

template< class Duration, class TimeZonePtr, class CharT >
struct formatter<std::chrono::zoned_time<Duration, TimeZonePtr>, CharT>
: std::formatter</*local-time-format-t*/<Duration>, CharT>

(since C++20)

# Example

This section is incompleteReason: no example

# Defect reports

DRApplied toBehavior as publishedCorrect behavior
P2372R3C++20formatter used the global locale or passed localedefault “C” locale is used when L is absent

# See also