use if statement instead of switch (changes of adding new time specifications outside of standard are probably unlikely anyhow)
pattern_time -> pattern_time_type ptime variable name -> pattern_time variable name make sure four spaces used, not tabs
This commit is contained in:
@@ -110,10 +110,10 @@ enum class async_overflow_policy
|
||||
// Pattern time - specific time getting to use for pattern_formatter.
|
||||
// local time by default
|
||||
//
|
||||
enum class pattern_time
|
||||
enum class pattern_time_type
|
||||
{
|
||||
local, // use variant of time similar to std::localtime for std::tm
|
||||
utc // use variant of time similar to std::gmtime for std::tm
|
||||
local, // use variant of time similar to std::localtime for std::tm
|
||||
utc // use variant of time similar to std::gmtime for std::tm
|
||||
};
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user