Fix goaltime save
This commit is contained in:
@ -1108,7 +1108,7 @@ async function saveGoalTime(goalTimeStr, zekkenNumber, eventCode) {
|
||||
|
||||
|
||||
const teamData = await teamResponse.json();
|
||||
const teamName = teamData.team_name;
|
||||
const teamName = teamData.team_name;
|
||||
|
||||
// 日付と時刻を結合して完全な日時文字列を作成
|
||||
//const currentDate = new Date().toISOString().split('T')[0];
|
||||
@ -1121,7 +1121,7 @@ async function saveGoalTime(goalTimeStr, zekkenNumber, eventCode) {
|
||||
//console.log(formattedDateTime); // "2024-10-26T12:59:13"
|
||||
|
||||
|
||||
console.info('goaltime=',formattedDateTime);
|
||||
console.info('goaltime=',formattedDateTime);
|
||||
|
||||
// 新規レコードを作成または既存レコードを更新
|
||||
const createResponse = await fetch('/api/update-goal-time/', {
|
||||
|
||||
Reference in New Issue
Block a user