v0.12.0
This commit is contained in:
parent
311937815e
commit
93d84e5d59
@ -80,7 +80,8 @@ static int to12h(const tm& t)
|
|||||||
|
|
||||||
//Abbreviated weekday name
|
//Abbreviated weekday name
|
||||||
using days_array = std::array<std::string, 7>;
|
using days_array = std::array<std::string, 7>;
|
||||||
static const days_array& days() {
|
static const days_array& days()
|
||||||
|
{
|
||||||
static const days_array arr{ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
|
static const days_array arr{ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
|
||||||
return arr;
|
return arr;
|
||||||
}
|
}
|
||||||
@ -93,7 +94,8 @@ class a_formatter:public flag_formatter
|
|||||||
};
|
};
|
||||||
|
|
||||||
//Full weekday name
|
//Full weekday name
|
||||||
static const days_array& full_days() {
|
static const days_array& full_days()
|
||||||
|
{
|
||||||
static const days_array arr{ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" };
|
static const days_array arr{ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" };
|
||||||
return arr;
|
return arr;
|
||||||
}
|
}
|
||||||
@ -107,7 +109,8 @@ class A_formatter:public flag_formatter
|
|||||||
|
|
||||||
//Abbreviated month
|
//Abbreviated month
|
||||||
using months_array = std::array<std::string, 12>;
|
using months_array = std::array<std::string, 12>;
|
||||||
static const months_array& months() {
|
static const months_array& months()
|
||||||
|
{
|
||||||
static const months_array arr{ "Jan", "Feb", "Mar", "Apr", "May", "June", "July", "Aug", "Sept", "Oct", "Nov", "Dec" };
|
static const months_array arr{ "Jan", "Feb", "Mar", "Apr", "May", "June", "July", "Aug", "Sept", "Oct", "Nov", "Dec" };
|
||||||
return arr;
|
return arr;
|
||||||
}
|
}
|
||||||
@ -120,7 +123,8 @@ class b_formatter:public flag_formatter
|
|||||||
};
|
};
|
||||||
|
|
||||||
//Full month name
|
//Full month name
|
||||||
static const months_array& full_months() {
|
static const months_array& full_months()
|
||||||
|
{
|
||||||
static const months_array arr{ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" };
|
static const months_array arr{ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" };
|
||||||
return arr;
|
return arr;
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define SPDLOG_VERSION "0.11.0"
|
#define SPDLOG_VERSION "0.12.0"
|
||||||
|
|
||||||
#include <spdlog/tweakme.h>
|
#include <spdlog/tweakme.h>
|
||||||
#include <spdlog/common.h>
|
#include <spdlog/common.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user