CollActionteam / collaction_backend

Backend code for CollAction
6 stars 4 forks source link

Migrate to Unix timestamps #71

Open rubenhorn opened 2 years ago

rubenhorn commented 2 years ago

Currently, date values are stored as serialized strings.
This has a few disadvantages:

To mitigate this, we should switch to using unix timestamps instead. Things this approach would not solve:

❗ This is merely a suggestion that has pros and cons. Feel free to discuss 🤔💬

Steps

Xazin commented 2 years ago

I got one word, UTC! 👍 But yeah, good idea to have some way to handle incoming/external localized dates.

rubenhorn commented 2 years ago

@edreinoso suggested using date/time according to DynamoDB documentation (ISO 8601 formatted string)