Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Usage of date formats #30

Open
jameshopkins opened this issue Jul 4, 2016 · 3 comments
Open

Usage of date formats #30

jameshopkins opened this issue Jul 4, 2016 · 3 comments

Comments

@jameshopkins
Copy link
Contributor

We currently offer a number of different date formats as part of the datetime field.

Am wondering whether we can reduce complexity by standardising our date value across the application to an ISO format. It would then be up to the consumer to format that date value accordingly.

What does everyone think?

@asavin
Copy link
Contributor

asavin commented Jul 4, 2016

I originally didn't want to include moment.js in the client bundle, but it seems to be inevitable (and it is already there i think).

Yeah valid idea.

@lpil
Copy link
Contributor

lpil commented Jul 14, 2016

Would we even need moment.js or similar if it's just formatting a date string? Date does that OK

@jameshopkins
Copy link
Contributor Author

jameshopkins commented Jul 14, 2016

I've found the Date API to be too low level in the past, but that's just me. It's a decision for the consumers of badger-brain ultimately

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants