Skip to content

Commit

Permalink
Merge pull request #6630 from planetarium/fix/log-level-down
Browse files Browse the repository at this point in the history
log level down
  • Loading branch information
jonny-jeahyunchoi authored Dec 18, 2024
2 parents 7fbf37a + fc0670c commit 31146f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nekoyume/Assets/_Scripts/ApiClient/IAPServiceManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ public static string GetPopupTitleText(this InAppPurchaseServiceClient.ProductSc
{
if (!DateTime.TryParse(product.OpenTimestamp, out var openDate))
{
NcDebug.LogError($"Invalid OpenTimestamp: {product.OpenTimestamp}");
NcDebug.LogWarning($"Invalid OpenTimestamp: {product.OpenTimestamp}");
return L10nManager.Localize($"MOBILE_SHOP_PRODUCT_{product.GetCode()}_POPUP_TITLE");
}

if (!DateTime.TryParse(product.CloseTimestamp, out var closeDate))
{
NcDebug.LogError($"Invalid CloseTimestamp: {product.CloseTimestamp}");
NcDebug.LogWarning($"Invalid CloseTimestamp: {product.CloseTimestamp}");
return L10nManager.Localize($"MOBILE_SHOP_PRODUCT_{product.GetCode()}_POPUP_TITLE");
}
return L10nManager.Localize($"MOBILE_SHOP_PRODUCT_{product.GetCode()}_POPUP_TITLE", openDate.ToString("MM/dd"),closeDate.ToString("MM/dd"));
Expand Down

0 comments on commit 31146f8

Please sign in to comment.