Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
fmt
Commits
26c1ca4c
Unverified
Commit
26c1ca4c
authored
Oct 08, 2021
by
Pavel Novikov
Committed by
GitHub
Oct 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced default spec with equivalent one, which is potentially more optimizable (#2537)
parent
1e865b35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
include/fmt/chrono.h
include/fmt/chrono.h
+1
-3
No files found.
include/fmt/chrono.h
View file @
26c1ca4c
...
...
@@ -534,9 +534,7 @@ struct formatter<std::chrono::time_point<std::chrono::system_clock, Duration>,
return
formatter
<
std
::
tm
,
Char
>::
format
(
time
,
ctx
);
}
static
constexpr
Char
default_specs
[]
=
{
'%'
,
'Y'
,
'-'
,
'%'
,
'm'
,
'-'
,
'%'
,
'd'
,
' '
,
'%'
,
'H'
,
':'
,
'%'
,
'M'
,
':'
,
'%'
,
'S'
};
static
constexpr
Char
default_specs
[]
=
{
'%'
,
'F'
,
' '
,
'%'
,
'T'
};
};
template
<
typename
Char
,
typename
Duration
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment