深渊去除上下半

This commit is contained in:
kaguramaisakuya 2024-08-20 20:32:23 +08:00
parent 3266babc30
commit 8bdf84e19f
3 changed files with 4 additions and 6 deletions

View File

@ -192,10 +192,8 @@ let Cal = {
let next = now.add(1, 'M').format(f)
let nextM = now.format('MMMM')
check.push([moment(`${last}-16 04:00:00`), moment(`${curr}-01 03:59:59`), lastM + '下半'])
check.push([moment(`${curr}-01 04:00:00`), moment(`${curr}-16 03:59:59`), currM + '上半'])
check.push([moment(`${curr}-16 04:00:00`), moment(`${next}-01 03:59:59`), currM + '下半'])
check.push([moment(`${next}-01 04:00:00`), moment(`${next}-16 03:59:59`), nextM + '上半'])
check.push([moment(`${last}-16 04:00:00`), moment(`${curr}-16 03:59:59`), lastM])
check.push([moment(`${curr}-16 04:00:00`), moment(`${next}-16 03:59:59`), currM])
let ret = []
lodash.forEach(check, (ds) => {

View File

@ -58,7 +58,7 @@ export default class Abyss extends Base {
stat[dst] = Data.getData(data[key] ? data[key][0] : [], keys)
})
let st = moment(new Date(data.start_time * 1000))
this.schedule = st.format('M') + '月' + (st.format('D') * 1 > 1 ? '下半' : '上半')
this.schedule = st.format('M') + '月'
this.maxFloor = data.max_floor
this.total = data.total_battle_times
this.time = moment().format('MM-DD HH:mm:ss')

View File

@ -1505,7 +1505,7 @@
"10000099": {
"id": 10000099,
"name": "艾梅莉埃",
"abbr": "艾梅莉埃",
"abbr": "艾梅",
"star": 5,
"elem": "dendro",
"weapon": "polearm",