-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
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) |
There was a problem hiding this 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 😄
<Typography color={'#6F6F6F'} fontSize={'0.75em'}> | ||
Europe/Bratislava | ||
</Typography> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<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()} |
There was a problem hiding this comment.
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
No description provided.