mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-21 14:38:30 +00:00
深渊去除上下半
This commit is contained in:
parent
3266babc30
commit
8bdf84e19f
@ -192,10 +192,8 @@ let Cal = {
|
|||||||
let next = now.add(1, 'M').format(f)
|
let next = now.add(1, 'M').format(f)
|
||||||
let nextM = now.format('MMMM')
|
let nextM = now.format('MMMM')
|
||||||
|
|
||||||
check.push([moment(`${last}-16 04:00:00`), moment(`${curr}-01 03:59:59`), lastM + '下半'])
|
check.push([moment(`${last}-16 04:00:00`), moment(`${curr}-16 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}-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 + '上半'])
|
|
||||||
|
|
||||||
let ret = []
|
let ret = []
|
||||||
lodash.forEach(check, (ds) => {
|
lodash.forEach(check, (ds) => {
|
||||||
|
@ -58,7 +58,7 @@ export default class Abyss extends Base {
|
|||||||
stat[dst] = Data.getData(data[key] ? data[key][0] : [], keys)
|
stat[dst] = Data.getData(data[key] ? data[key][0] : [], keys)
|
||||||
})
|
})
|
||||||
let st = moment(new Date(data.start_time * 1000))
|
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.maxFloor = data.max_floor
|
||||||
this.total = data.total_battle_times
|
this.total = data.total_battle_times
|
||||||
this.time = moment().format('MM-DD HH:mm:ss')
|
this.time = moment().format('MM-DD HH:mm:ss')
|
||||||
|
@ -1505,7 +1505,7 @@
|
|||||||
"10000099": {
|
"10000099": {
|
||||||
"id": 10000099,
|
"id": 10000099,
|
||||||
"name": "艾梅莉埃",
|
"name": "艾梅莉埃",
|
||||||
"abbr": "艾梅莉埃",
|
"abbr": "艾梅",
|
||||||
"star": 5,
|
"star": 5,
|
||||||
"elem": "dendro",
|
"elem": "dendro",
|
||||||
"weapon": "polearm",
|
"weapon": "polearm",
|
||||||
|
Loading…
Reference in New Issue
Block a user