Skip to content

A class to find the difference between two dates including public holidays.

License

Notifications You must be signed in to change notification settings

CheapSmokes/js-date-diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JS Class Date Diff

A class to find the difference between two dates while taking public holidays and working days into account.

Features

  • Should this have any features listed? It's a technical assessement.

Technology stack

  • TypeScript
  • NPM

Setup for development

Clone this repo to your local machine.

Note: if you don't have Node.js installed, you will need to do that before following these steps!

npm:

npm install

Parcel JS: To run Parcel, on your command line, use this command:

npm start

This will build your project, and start a local dev server at http://localhost:1234/. The cool part about this is that anytime you make changes to your files, Parcel will automatically rebuild and update the local site for you.

Testing:

npm test

Testing Jest out on this project because that's what the guys use at their workplace. May not work on some machines with the current NPM package setup. Needs to be fixed to work everywhere.

Deployment (Advanced users only)

Compiling the project for deployment is easy. Run the following command from your terminal.

Terminal:

npm build

No steps required for deployment on this project.

Support

If you come across any issues, please contact @CheapSmokes for assistance.

About

A class to find the difference between two dates including public holidays.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published