mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Variant
- ISO8601 periods contain uppercase characters.
This commit is contained in:
parent
bd53dd2aeb
commit
9a74fbe4a9
1 changed files with 3 additions and 3 deletions
|
@ -1574,9 +1574,9 @@ Variant::operator std::string () const
|
||||||
if (hours || minutes || seconds)
|
if (hours || minutes || seconds)
|
||||||
{
|
{
|
||||||
s << 'T';
|
s << 'T';
|
||||||
if (hours) s << hours << 'h';
|
if (hours) s << hours << 'H';
|
||||||
if (minutes) s << minutes << 'm';
|
if (minutes) s << minutes << 'M';
|
||||||
if (seconds) s << seconds << 's';
|
if (seconds) s << seconds << 'S';
|
||||||
}
|
}
|
||||||
|
|
||||||
return s.str ();
|
return s.str ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue