Showing the changes to Source/Libraries/TimeSeriesPlatformLibrary/Common/Nullable.h (1 of 28 files). Show all
Unified · Split
| @@ -324,7 +324,7 @@ namespace GSF · 323 unmodified lines | |||
| 324 | return {}; | 324 | return {}; |
| 325 | } | 325 | } |
| 326 | 326 | ||
| 327 | inline std::string ToString(const Nullable<DateTime>& value, const char* fmt = "%Y-%m-%d %H:%M:%S%F") | 327 | inline std::string ToString(const Nullable<datetime_t>& value, const char* fmt = "%Y-%m-%d %H:%M:%S%F") |
| 328 | { | 328 | { |
| 329 | if (value.HasValue()) | 329 | if (value.HasValue()) |
| 330 | return ToString(value.GetValueOrDefault(), fmt); | 330 | return ToString(value.GetValueOrDefault(), fmt); |