Fixed Bug #3282
This commit is contained in:
parent
ae6c6a75b2
commit
a2feca0ba3
|
@ -4,6 +4,7 @@ using System.Net.Http;
|
|||
using System;
|
||||
using Oqtane.Documentation;
|
||||
using Oqtane.Shared;
|
||||
using System.Globalization;
|
||||
|
||||
namespace Oqtane.Services
|
||||
{
|
||||
|
@ -18,7 +19,7 @@ namespace Oqtane.Services
|
|||
/// <inheritdoc />
|
||||
public async Task<Sync> GetSyncEventsAsync(DateTime lastSyncDate)
|
||||
{
|
||||
return await GetJsonAsync<Sync>($"{ApiUrl}/{lastSyncDate.ToString("yyyyMMddHHmmssfff")}");
|
||||
return await GetJsonAsync<Sync>($"{ApiUrl}/{lastSyncDate.ToString("yyyyMMddHHmmssfff", CultureInfo.InvariantCulture)}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user