mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Added millisecond timestamp formats to settings (#2375)
This commit is contained in:
parent
3023a44a21
commit
a4fb20c72c
1 changed files with 3 additions and 2 deletions
|
@ -257,9 +257,10 @@ void GeneralPage::initLayout(GeneralPageView &layout)
|
||||||
layout.addCheckbox("Highlight messages redeemed with Channel Points",
|
layout.addCheckbox("Highlight messages redeemed with Channel Points",
|
||||||
s.enableRedeemedHighlight);
|
s.enableRedeemedHighlight);
|
||||||
layout.addDropdown<QString>(
|
layout.addDropdown<QString>(
|
||||||
"Timestamp format (a = am/pm)",
|
"Timestamp format (a = am/pm, zzz = milliseconds)",
|
||||||
{"Disable", "h:mm", "hh:mm", "h:mm a", "hh:mm a", "h:mm:ss", "hh:mm:ss",
|
{"Disable", "h:mm", "hh:mm", "h:mm a", "hh:mm a", "h:mm:ss", "hh:mm:ss",
|
||||||
"h:mm:ss a", "hh:mm:ss a"},
|
"h:mm:ss a", "hh:mm:ss a", "h:mm:ss.zzz", "h:mm:ss.zzz a",
|
||||||
|
"hh:mm:ss.zzz", "hh:mm:ss.zzz a"},
|
||||||
s.timestampFormat,
|
s.timestampFormat,
|
||||||
[](auto val) {
|
[](auto val) {
|
||||||
return getSettings()->showTimestamps.getValue()
|
return getSettings()->showTimestamps.getValue()
|
||||||
|
|
Loading…
Reference in a new issue