Skip to content

[JAN-13] Switch Date to Proper "Date Time" for Sorting as a Number #52

@jarenadams21

Description

@jarenadams21

You can use the string data type to represent a date or a timestamp. One way to do this is by using ISO 8601 strings, as shown in these examples:

2016-02-15

2015-12-21T17:42:34Z

20150311T122706Z

Create a typed interface for dates in this format so our application adheres to this at all times when using time-sensitive features like deadlines or notifications. We should only need the first format, but a specific time would be helpful if a user needs more specific controls within that, just be sure to specify in your pull request if you chose to only do YY-MM-DD vs adding the time as well.

Here is the wiki as well: https://en.wikipedia.org/wiki/ISO_8601

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes.String

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions