Skip to content

Commit 2aea1a1

Browse files
Carlos Garciaclaude
andcommitted
Añadida fecha de creación en los archivos JSON de crash reports.
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent ab35c8f commit 2aea1a1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Core/CrashReport.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ public static function save(array $info): void
118118
return;
119119
}
120120

121+
// añadimos la fecha de creación
122+
$info['created_at'] = date('Y-m-d H:i:s');
123+
121124
file_put_contents($file_path, json_encode($info, JSON_PRETTY_PRINT));
122125
}
123126

0 commit comments

Comments
 (0)