Skip to content

Commit 80fef19

Browse files
Don't lose TimeZone kind when creating sync after (#3213)
1 parent f0896e1 commit 80fef19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.IdentityModel.Protocols/Configuration/ConfigurationManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ private void UpdateCurrentConfiguration()
348348
private void UpdateConfiguration(T configuration)
349349
{
350350
_currentConfiguration = configuration;
351-
_syncAfter = DateTimeUtil.Add(TimeProvider.GetUtcNow().DateTime, AutomaticRefreshInterval +
351+
_syncAfter = DateTimeUtil.Add(TimeProvider.GetUtcNow().UtcDateTime, AutomaticRefreshInterval +
352352
TimeSpan.FromSeconds(new Random().Next((int)AutomaticRefreshInterval.TotalSeconds / 20)));
353353
}
354354

0 commit comments

Comments
 (0)