Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
zhangwenqiang
2024-08-05 15:48:37 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fdc4e05304991a35333e430b03fea414a531d71c
fdc4e053
1 parent
5deda9f0
fix:[17757]当天开播时间应显示为今天
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
sight_harmony/features/wdComponent/src/main/ets/components/mine/appointment/AppointmentListUI.ets
sight_harmony/features/wdComponent/src/main/ets/components/mine/appointment/AppointmentListUI.ets
View file @
fdc4e05
...
...
@@ -200,12 +200,13 @@ export struct AppointmentListUI {
let time = arr[0].split("-");
if (time.length === 3) {
let month = time[1].indexOf("0") === 0 ? time[1].substring(1) : time[1]
let day = time[2]
// let day = time[2]
let day = time[2].indexOf("0") === 0 ? time[2].substring(1) : time[2]
dealData[0] = `${month}月${day}日`
let today = `${new Date().getMonth() + 1}月${new Date().getDate()}日`
if (dealData[0] === today) {
dealData[0] = "今
日
"
dealData[0] = "今
天
"
}
}
}
...
...
Please
register
or
login
to post a comment