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

Client-side parses the date/time in user readable form (eg March 17) #13

Open
michael-small opened this issue Mar 27, 2019 · 0 comments

Comments

@michael-small
Copy link
Contributor

No description provided.

michael-small added a commit that referenced this issue Mar 27, 2019
Close #12 and addresses #13 by parsing date at client side. Database
formatting is still in ISO. #13 still needs time to be parsed on the
front end to be addressed.

Addresses #2
michael-small added a commit that referenced this issue Mar 27, 2019
Because date was used for a Date type, dateDate WAS used for a string
date that would be constructed. However, date was reassignable as a
string.

Also, creates method name for parsing time

#13
michael-small added a commit that referenced this issue Mar 27, 2019
Hours are now parsed to standard American time. Database still handles
dates in 24 format.

Addresses #13. Tests still needed.
michael-small added a commit that referenced this issue Mar 27, 2019
Rephrases tests by prepending "the client" to each statement.

Addresses #13
michael-small added a commit that referenced this issue Mar 27, 2019
Fixes the expectation of the 'the client turns 12:00 time to
12:00 PM' test because it was copied from the midnight test and not
an actual and relevant expectation to the noon test.

Addresses #13
michael-small added a commit that referenced this issue Mar 27, 2019
This feels like a healthy amount of unit tests for date parsing.

Addresses #13
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

1 participant