Loading CHANGELOG.md +4 −0 Original line number Diff line number Diff line Journal des modifications ========================= 6.3.1 ------- - [FIX] HistoriqueAwareTrait : méthodes getDateTime() et getDate() pas cohérentes avec getHistoCreation(). 6.3.0 ----- - Rattrapage des évolutions dans unicaen/auth : aides de vues User* Loading src/UnicaenUtilisateur/Entity/Db/HistoriqueAwareTrait.php +4 −4 Original line number Diff line number Diff line Loading @@ -161,13 +161,13 @@ trait HistoriqueAwareTrait return "Aucune donnée d'historisation"; } public function getDateTime(): string public function getDateTime(): ?string { return $this->getHistoCreation()->format('d/m/Y à H:i'); return $this->getHistoCreation()?->format('d/m/Y à H:i'); } public function getDate(): string public function getDate(): ?string { return $this->getHistoCreation()->format('d/m/Y'); return $this->getHistoCreation()?->format('d/m/Y'); } } No newline at end of file Loading
CHANGELOG.md +4 −0 Original line number Diff line number Diff line Journal des modifications ========================= 6.3.1 ------- - [FIX] HistoriqueAwareTrait : méthodes getDateTime() et getDate() pas cohérentes avec getHistoCreation(). 6.3.0 ----- - Rattrapage des évolutions dans unicaen/auth : aides de vues User* Loading
src/UnicaenUtilisateur/Entity/Db/HistoriqueAwareTrait.php +4 −4 Original line number Diff line number Diff line Loading @@ -161,13 +161,13 @@ trait HistoriqueAwareTrait return "Aucune donnée d'historisation"; } public function getDateTime(): string public function getDateTime(): ?string { return $this->getHistoCreation()->format('d/m/Y à H:i'); return $this->getHistoCreation()?->format('d/m/Y à H:i'); } public function getDate(): string public function getDate(): ?string { return $this->getHistoCreation()->format('d/m/Y'); return $this->getHistoCreation()?->format('d/m/Y'); } } No newline at end of file