DateTime field can store the UTC time into the database? #34
Replies: 2 comments 2 replies
-
This is actually using the motor behind the scenes but internally we don't have any "format" field being sent and validated. This is actually a nice feature to add. Could you provide me some examples of the formats you would like to save? This can be used to implement this feature however possible |
Beta Was this translation helpful? Give feedback.
2 replies
-
Yes, it stores the expected format, however it gets confused with the ISODate data type when it retrieves the datetime object from MongoDB. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have a question about the DateTime field. When I store datetime data, it is stored in ISO format; however, I want to store it in UTC format; are there any settings to modify the format while storing datetime data?
Thnak you.
Beta Was this translation helpful? Give feedback.
All reactions