项目作者: huynhsamha

项目描述 :
freeCodeCamp - Challenge Timestamp Microservice
高级语言: JavaScript
项目地址: git://github.com/huynhsamha/freecodecamp-timestamp-microservice.git
创建时间: 2018-05-27T11:00:14Z
项目社区:https://github.com/huynhsamha/freecodecamp-timestamp-microservice

开源协议:MIT License

下载


freecodecamp-timestamp-microservice

Challenge at freeCodeCamp:

https://www.freecodecamp.org/challenges/timestamp-microservice

Deploy it to Glitch

https://impartial-attempt.glitch.me/

User Story

  • I can pass a string as a parameter, and it will check to see whether that string contains either a unix timestamp or a natural language date (example: January 1, 2016).

  • If it does, it returns both the Unix timestamp and the natural language form of that date.

  • If it does not contain a date or Unix timestamp, it returns null for those properties.