Skip to content

Commit

Permalink
修复合并词条时错误地转换时区导致游戏发布时间偏移的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleFish-233 committed Jan 6, 2023
1 parent bd391b1 commit 95e5c26
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Expand Up @@ -2149,13 +2149,13 @@ public EditAddInforViewModel GetEditAddInforViewModel(Entry entry)
case "发行时间":
try
{
model.IssueTime = DateTime.ParseExact(item.DisplayValue, "yyyy年M月d日", null);
model.IssueTime = DateTime.ParseExact(item.DisplayValue, "yyyy年M月d日", null).AddHours(12);
}
catch
{
try
{
model.IssueTime = DateTime.ParseExact(item.DisplayValue, "yyyy/M/d", null);
model.IssueTime = DateTime.ParseExact(item.DisplayValue, "yyyy/M/d", null).AddHours(12);
}
catch
{
Expand Down
Expand Up @@ -158,7 +158,7 @@
}
else if (item.DisplayName == "昵称(官方称呼)")
{
@*<BasicInforAloneTip Icon="fa-vcard-o" Text="@("昵称:"+item.DisplayValue)" Class="col-12" />*@
<BasicInforAloneTip Icon="@IconType.Name" Text="@("昵称:"+item.DisplayValue)" Class="col-12" />
}
else
{
Expand Down
@@ -1,6 +1,6 @@
<div class=" rounded shadow-sm bg-opacity rounded pt-3 ps-3 pe-3 mb-3" style=" padding-bottom: 1px; font-size: larger;">
<div class=" rounded shadow-sm bg-opacity rounded p-3 mb-3" style=" padding-bottom: 1px; font-size: larger;">
<nav aria-label="breadcrumb" style="background-color: transparent">
<ol class="breadcrumb" style="background-color: transparent">
<ol class="breadcrumb mb-0" style="background-color: transparent">
@foreach (var item in TagList)
{
if (TagList.IndexOf(item) == TagList.Count - 1)
Expand Down
Expand Up @@ -120,7 +120,7 @@ else
{
try
{
isReady = false;
//isReady = false;
StateHasChanged();
//获取标签信息
Model = await _dataCatcheService.TagIndexPageCatche.GetCache(Id);
Expand Down

0 comments on commit 95e5c26

Please sign in to comment.