Skip to content

AndrewBergstrom/fcc-timestamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fcc-timestamp

User Stories:

  1. I can pass a string as a URL parameter, and it will check to see whether that string contains either a Unix timestamp or a natural language date (ex. August 10, 2021 or Aug 10, 2021).
  1. If it does, it returns both the Unix timestamp and the natural language form of that date.
  1. If it does not contain a date or Unix timestamp, it returns {"error": "Invalid Date"}.

Releases

No releases published

Packages

No packages published