7 references to ToLocal
Aspire.Dashboard (7)
Components\Controls\Chart\ChartBase.cs (1)
203return $"<b>{HttpUtility.HtmlEncode(InstrumentViewModel.Instrument?.Name)}</b><br />{HttpUtility.HtmlEncode(name)}: {FormatHelpers.FormatNumberWithOptionalDecimalPlaces(yValue, maxDecimalPlaces: 6, CultureInfo.CurrentCulture)}<br />Time: {FormatHelpers.FormatTime(TimeProvider, TimeProvider.ToLocal(xValue))}";
Components\Controls\Chart\PlotlyChart.razor.cs (5)
51{Loc[nameof(ControlsStrings.PlotlyChartTime)]}: {FormatHelpers.FormatTime(TimeProvider, TimeProvider.ToLocal(xValue))} 90TimeProvider.ToLocal(inProgressDataTime), 91TimeProvider.ToLocal(inProgressDataTime - Duration).ToLocalTime(), 102TimeProvider.ToLocal(inProgressDataTime), 103TimeProvider.ToLocal(inProgressDataTime - Duration)).ConfigureAwait(false);
Components\Controls\LogViewer.razor.cs (1)
87: TimeProvider.ToLocal(timestamp).ToString(KnownFormats.ConsoleLogsUITimestampLocalFormat, CultureInfo.InvariantCulture);