Commit 13123199 by DESKTOP-732ATD8\BLT

增加功能:Shopify 广告费

parent 831c15b7
...@@ -6606,9 +6606,13 @@ namespace Bailun.DC.Services ...@@ -6606,9 +6606,13 @@ namespace Bailun.DC.Services
{ {
var sqlparam = new DynamicParameters(); var sqlparam = new DynamicParameters();
//WINDIWOS //WINDIWOS
TimeZoneInfo easternZone = TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time"); TimeZoneInfo easternZone = default(TimeZoneInfo);
try
{
easternZone = TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time");
}
//LINUX //LINUX
if (Environment.OSVersion.Platform == PlatformID.Unix) catch
{ {
easternZone = TimeZoneInfo.FindSystemTimeZoneById("America/New_York"); easternZone = TimeZoneInfo.FindSystemTimeZoneById("America/New_York");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment