ladder log message time stamp in military time
This commit is contained in:
1 parent
c7fd14808e
commit
87b41b286f
1 file changed
+1
-1
@@ -43,7 +43,7 @@ namespace mbts.ui.controls {
|
||||
public LogViewerMessage(ILogViewerCategory category, string message)
|
||||
: this(DateTime.Now, category, message) { }
|
||||
|
||||
public LogViewerMessage(DateTime time, ILogViewerCategory category, string message, string time_format = "t") {
|
||||
public LogViewerMessage(DateTime time, ILogViewerCategory category, string message, string time_format = "HH:mm:ss") {
|
||||
this.category = category;
|
||||
this.message = $"{time.ToString(time_format)} {message}";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user