Changeset 387 for binary-improvements2/MapRendering/Web/LogBuffer.cs
- Timestamp:
- Aug 6, 2022, 11:32:32 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/MapRendering/Web/LogBuffer.cs
r382 r387 127 127 public class LogEntry { 128 128 public readonly DateTime timestamp; 129 public readonly string date;130 public readonly string time;131 129 public readonly string isoTime; 132 130 public readonly string message; … … 137 135 public LogEntry (DateTime _timestamp, string _message, string _trace, LogType _type, long _uptime) { 138 136 timestamp = _timestamp; 139 date = $"{_timestamp.Year:0000}-{_timestamp.Month:00}-{_timestamp.Day:00}";140 time = $"{_timestamp.Hour:00}:{_timestamp.Minute:00}:{_timestamp.Second:00}";141 137 isoTime = _timestamp.ToString ("o"); 142 138
Note:
See TracChangeset
for help on using the changeset viewer.