Skip to content

Conversation

@brotkrueml
Copy link
Contributor

An example for a custom date/time format derived from a timestamp has been added as a showcase.

Additionally, add a heading for each example to improve readability.

Releases: main, 12.4

An example for a custom date/time format derived from a timestamp has been added.

Additionally, add a heading for each example to improve readability.

Releases: main, 12.4
Copy link
Contributor

@froemken froemken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your patch.

Some marks:
Normally we have 2 whitespaces indent for TypoScript, but as all other examples in that file have 4 whitespaces, it's OK for me.

I have tested your snippet. For me it's 2023-03-17T04:00:00+0100. Seems you're living at greenwich timezone ;-)

@brotkrueml
Copy link
Contributor Author

My ddev is set up with UTC.

@brotkrueml
Copy link
Contributor Author

About the indentation: I adopted the indents from the example above.

@linawolf
Copy link
Member

@froemken I just noticed, that the .editorconfig is incomplete.

Introducing a propper .editorconfig would therefore be a follow up.

@linawolf linawolf merged commit b51e989 into TYPO3-Documentation:main Sep 27, 2024
5 checks passed
@brotkrueml brotkrueml deleted the improve-formattedDate branch September 27, 2024 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants