style: remove redundant space before UTC

This commit is contained in:
Oliver Booth 2023-08-27 16:50:44 +01:00
parent a49b065ee2
commit 6193e5ddf7
Signed by: oliverbooth
GPG Key ID: B89D139977693FED
1 changed files with 6 additions and 6 deletions

View File

@ -46,17 +46,17 @@ public struct PlainTextMessageBuilder : IDisposable
case TimestampFormat.None: case TimestampFormat.None:
AddWord(timestamp.ToString("d MMM yyyy HH:mm")); AddWord(timestamp.ToString("d MMM yyyy HH:mm"));
AddWord(" UTC", whitespace); AddWord("UTC", whitespace);
break; break;
case TimestampFormat.LongDate: case TimestampFormat.LongDate:
AddWord(timestamp.ToString("dd MMMM yyyy")); AddWord(timestamp.ToString("dd MMMM yyyy"));
AddWord(" UTC", whitespace); AddWord("UTC", whitespace);
break; break;
case TimestampFormat.ShortDate: case TimestampFormat.ShortDate:
AddWord(timestamp.ToString("dd/MM/yyyy")); AddWord(timestamp.ToString("dd/MM/yyyy"));
AddWord(" UTC", whitespace); AddWord("UTC", whitespace);
break; break;
case TimestampFormat.ShortTime: case TimestampFormat.ShortTime:
@ -66,17 +66,17 @@ public struct PlainTextMessageBuilder : IDisposable
case TimestampFormat.LongTime: case TimestampFormat.LongTime:
AddWord(timestamp.ToString("HH:mm:ss")); AddWord(timestamp.ToString("HH:mm:ss"));
AddWord(" UTC", whitespace); AddWord("UTC", whitespace);
break; break;
case TimestampFormat.ShortDateTime: case TimestampFormat.ShortDateTime:
AddWord(timestamp.ToString("dd MMMM yyyy HH:mm")); AddWord(timestamp.ToString("dd MMMM yyyy HH:mm"));
AddWord(" UTC", whitespace); AddWord("UTC", whitespace);
break; break;
case TimestampFormat.LongDateTime: case TimestampFormat.LongDateTime:
AddWord(timestamp.ToString("dddd, dd MMMM yyyy HH:mm")); AddWord(timestamp.ToString("dddd, dd MMMM yyyy HH:mm"));
AddWord(" UTC", whitespace); AddWord("UTC", whitespace);
break; break;
default: default: