Git Product home page Git Product logo

guild-dates's Introduction

guild-dates

Codeship Status Code Climate GPA Code Climate Issue Count Test Coverage

Getting Started

  1. Install the module:

    npm install --save @learnersguild/guild-dates
  2. Use the APIs, e.g.:

    $ node
    > var guildDates = require('@learnersguild/guild-dates')
    > guildDates
    { summerBreakWeekMonday: [Getter],
      winterBreakWeekMonday: [Getter],
      summerBreakWeekDays: [Getter],
      winterBreakWeekDays: [Getter],
      breakWeekDaysBetween: [Getter],
      isDuringBreakWeek: [Getter],
      newYearsDay: [Getter],
      mlkJrDay: [Getter],
      presidentsDay: [Getter],
      cesarChavezDay: [Getter],
      memorialDay: [Getter],
      independenceDay: [Getter],
      laborDay: [Getter],
      indigenousPeoplesDay: [Getter],
      veteransDay: [Getter],
      thanksgivingDay: [Getter],
      thanksgivingFriday: [Getter],
      christmasEve: [Getter],
      christmasDay: [Getter],
      holidaysBetween: [Getter],
      isHoliday: [Getter],
      nextStartDate: [Getter],
      defaultStartDate: [Getter],
      MAX_PROGRAM_WEEKS: [Getter],
      CANCELLATION_WEEKS: [Getter],
      expectedExitDate: [Getter],
      defaultExpectedExitDate: [Getter],
      isaCancellationDate: [Getter],
      defaultISACancellationDate: [Getter],
      stipendPaymentDatesBetween: [Getter],
      momentDayOnly: [Getter],
      formatDate: [Getter],
      throwsIfInvalidDate: [Getter] }

Key Dependencies`

LICENSE

See the LICENSE file.

guild-dates's People

Contributors

jeffreywescott avatar

Watchers

Shereef Bishay avatar James Cloos avatar

guild-dates's Issues

Incorrect number of program weeks calculated

@prattsj commented on Thu Aug 03 2017

The exit dates (when correctly displayed - see #4) appear to be off by 1 week.

From Jessica:

i also counted 40 weeks (not including the winter holiday) and got a different end date. I got an end date of May 18th, 2018.

a week earlier.

i counted it multiple times as I was figuring out the 5 session dates. and I keep coming up with May 18th.

so it also seems to be off by a week.

The program seems to be consistently counting 1 too many weeks in the program when calculating the exit dates.

screen shot 2017-08-02 at 12 45 40 pm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.