Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Admin - date time fields zobrazit datum a cas #367

Merged
merged 7 commits into from
Nov 22, 2024

Conversation

vgeffer
Copy link
Contributor

@vgeffer vgeffer commented Apr 15, 2024

No description provided.

@vgeffer vgeffer linked an issue Apr 15, 2024 that may be closed by this pull request
@vgeffer
Copy link
Contributor Author

vgeffer commented Apr 15, 2024

Netuším, či labels pri DateField majú byť takto, no by default ti timezónu vypíše ako GMT+n, no je tam kenser s letným časom (polka časov by bola GMT+1 a druhá GMT+2)

Copy link
Collaborator

@rtrembecky rtrembecky left a comment

Choose a reason for hiding this comment

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

v pohode. ci uz to presunies niekam inam, alebo nechas, zatial asi dobre 😄

Comment on lines 20 to 22
<Typography color={'#6F6F6F'} fontSize={'0.75em'}>
Europe/Bratislava
</Typography>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
<Typography color={'#6F6F6F'} fontSize={'0.75em'}>
Europe/Bratislava
</Typography>
<FormHelperText>Europe/Bratislava</FormHelperText>

@@ -23,7 +23,7 @@ export const PostPreview: FC = () => {
caption={formData?.caption ?? ''}
short_text={formData?.short_text ?? ''}
details={formData?.details ?? ''}
added_at={formData?.added_at ?? ''}
added_at={formData?.added_at ?? new Date().toISOString()}
Copy link
Collaborator

Choose a reason for hiding this comment

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

rozmyslam, ze mozno tie added_at inputy schovame 🤔 ukazovat tam toto mi pride off, lebo hodnota toho fieldu sa aj tak (z nejakeho dovodu) generuje automaticky, tak ked pises post 5 minut, tak to vlastne nie je pravda 😄 ale neviem, nezalezi na tom

@vgeffer vgeffer merged commit 7f5d229 into master Nov 22, 2024
1 check passed
@vgeffer vgeffer deleted the 317-ra-date-time-fields-zobrazit-datum-a-cas branch November 22, 2024 09:19
Sign up for free to 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.

RA - Date time fields - zobrazit datum a cas
2 participants