Loading CHANGELOG.md +4 −0 Original line number Diff line number Diff line Journal des modifications ========================= 7.0.1 ----- - [FIX] HistoriqueAwareTrait : méthodes getDateTime() et getDate() pas cohérentes avec getHistoCreation(). 7.0.0 ----- - [Fix] Correction du problème de UserServiceFactory faisant appel à une méthode inconnue "setUsernameField" dans UserService 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 ========================= 7.0.1 ----- - [FIX] HistoriqueAwareTrait : méthodes getDateTime() et getDate() pas cohérentes avec getHistoCreation(). 7.0.0 ----- - [Fix] Correction du problème de UserServiceFactory faisant appel à une méthode inconnue "setUsernameField" dans UserService 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