PR

現在時刻をDateTimeUtilを使用して取得 #3032

wada opened this at 2023-08-22T18:10:51; closed

Description

opened by wada at 2023-08-22T18:10:51; updated 2023-09-01T11:08:29

概要

デバッグ用の現在時刻調整 #2869

デバッグでマスタを変更せずに開催時刻を変更できるように、DateTimeUtilから現在時刻を取得
未対応の箇所は、今後のデバッグスケジュールに応じて随時対応

先にdevelopにマージして運用予定

対応箇所

  • 転生
  • GK
  • ガチャ
  • パック販売

Comment

#29837 by wada at 2023-08-22T18:11:16; updated 2023-08-22T18:11:16

@kouho
確認お願いします。

Comment

#29927 by kouho at 2023-08-25T13:02:09; updated 2023-08-25T13:02:09

@wada
確認OKです。

kouho add_label at 2023-08-25T13:02:11: 皇甫 LGTM

Comment

#29950 by kouho at 2023-08-25T18:56:18; updated 2023-08-25T18:56:18

@wada
すみません、別件のデバッグ時に見つかりました。アイテムパックの
public_html/template/Shop-GainSet.tpl
でtime()が使われておりましたのでこちらも対応お願いいたします

Comment

#30056 by wada at 2023-08-31T09:48:12; updated 2023-08-31T09:48:12

@kouho
対応しました。

> public_html/template/Shop-GainSet.tpl

Comment

#30061 by kouho at 2023-08-31T09:57:58; updated 2023-08-31T09:57:58

@wada
> 対応しました。

ありがとうございます。確認OKです。

wada merge at 2023-09-01T11:04:51: 現在時刻をDateTimeUtilを使用して取得
wada close at 2023-09-01T11:04:51: Close
wada delete_branch at 2023-09-01T11:08:29: debug_time_offset

Commit range

basec0d1f79edbdc85a8ef8b673f1dca05e4e8bc1664
head53f51cc1100c7b4e97cf6399312b13fc7211f185
base branchjolly/jr-web:master
head branchjolly/jr-web:debug_time_offset

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed18 filesView patch
statusfile
modifiedlib/SubFunc.inc
modifiedlib/ajax/shop_payment.inc
modifiedlib/ajax/shop_select.inc
modifiedlib/conf/define_y.inc
modifiedlib/models/Limit_break.php
modifiedlib/models/gacha/Step_up.php
modifiedlib/public/Bar-SPGacha.inc
modifiedlib/public/Bar-SPGachaExec.inc
modifiedlib/public/Bar-SPGachaResult.inc
modifiedlib/public/Shop-CardHolderPack.inc
modifiedlib/public/Shop-GainSet.inc
modifiedlib/public/Shop-GoldSet.inc
modifiedlib/public/Shop-TrainingPack.inc
modifiedlib/public/Shop.inc
modifiedpublic_html/template/Main.tpl
modifiedpublic_html/template/Ranking-Event.tpl
modifiedpublic_html/template/Shop-GainSet.tpl
modifiedpublic_html/template/Shop.tpl
Patch body is stored as a separate file to keep this page lightweight.