PR

【即時】メインページ看板イベント期間表示を○:59にする対応 #1144

kouho opened this at 2021-09-16T15:53:04; closed

Description

opened by kouho at 2021-09-16T15:53:04; updated 2025-08-04T10:37:39

概要

メインページ看板イベント期間表示を○:59にするPRです。

テスト方法、確認した内容

天下無双を開催状態にして看板を押して表示される期間が16:59になっていたらOKです。

TODO

特になし

Comment

#13743 by kouho at 2021-09-16T15:53:44; updated 2021-09-16T15:53:44

@wada @iwamoto
確認をお願いいたします。

Comment

#13744 by kouho at 2021-09-16T16:07:08; updated 2021-09-16T16:07:08

@wada
確認ありがとうございます。天下無双イベントのところに-1に修正しました。

Comment

#13745 by wada at 2021-09-16T16:15:53; updated 2021-09-16T16:15:53

@kouho
確認しました。
次回までで良いので、configの方も59秒に変更お願いします。

Comment

#13746 by kouho at 2021-09-16T16:17:04; updated 2021-09-16T16:17:04

@wada
確認ありがとうございます。かしこまりました。

kouho merge at 2021-09-16T16:17:10: 【即時】メインページ看板イベント期間表示を○:59にする対応
kouho close at 2021-09-16T16:17:10: Close

commit comment

#83 by wada at 2021-09-16T16:02:15; public_html/template/Main.tpl / old:None new:2816
377a15999082a7c1105c4420ff00c73f96d482f5

@kouho
今は秒数を出してないのでここで-1しても大丈夫ですが、できれば、イベントごとに-1しておきたいです。

#覇戦
$_temp['event_end_time'][$_temp['board_no']] = strtotime(date('Y-m-d 22:i:s', $_df['jackpot_war']['end'])) - 1;
#レイド
$_temp['event_end_time'][$_temp['board_no']] = $_df['raidmonster']['end'] - 1;

Commit range

base4f61843fbdaf519d636871b92dee1d2fdce23738
head3c894dfaf6251e959df842a4570a8a4e557485b6
base branchjolly/jr-web:master
head branchjolly/jr-web:fix_battleventboard

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed1 filesView patch
statusfile
modifiedpublic_html/template/Main.tpl
Patch body is stored as a separate file to keep this page lightweight.

Review comment

#83 by wada at 2021-09-16T16:02:15; public_html/template/Main.tpl / old:None new:2816
377a15999082a7c1105c4420ff00c73f96d482f5

@kouho
今は秒数を出してないのでここで-1しても大丈夫ですが、できれば、イベントごとに-1しておきたいです。

#覇戦
$_temp['event_end_time'][$_temp['board_no']] = strtotime(date('Y-m-d 22:i:s', $_df['jackpot_war']['end'])) - 1;
#レイド
$_temp['event_end_time'][$_temp['board_no']] = $_df['raidmonster']['end'] - 1;