Skip to content

[stable27] fix(utility): De- deprecate getDateTime and getTime as now() only returns DateTimeImmutable - #40039

Merged
nickvergessen merged 1 commit into
stable27from
backport/39511/stable27
Aug 29, 2023
Merged

[stable27] fix(utility): De- deprecate getDateTime and getTime as now() only returns DateTimeImmutable#40039
nickvergessen merged 1 commit into
stable27from
backport/39511/stable27

Conversation

@backportbot-nextcloud

Copy link
Copy Markdown

Backport of #39511

…le objects
This will mean lots of code like
```$dateTime = (new DateTime())->setTimestamp(ITimeFactory::now()->getTimestamp()```
if a regular DateTime object is needed
Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala
miaulalalaforce-pushed the backport/39511/stable27 branch from c37c14c to 5133711CompareAugust 28, 2023 10:44
@blizzzblizzz mentioned this pull request Aug 29, 2023
@nickvergessen
nickvergessen merged commit ff0569a into stable27Aug 29, 2023
@nickvergessen
nickvergessen deleted the backport/39511/stable27 branch August 29, 2023 12:41
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@nickvergessen@Altahrim@miaulalala