classroom

https://github.com/education/classroom

Ruby

GitHub Classroom automates repository creation and access control, making it easy for teachers to distribute starter code and collect assignments on GitHub.

Deadline::Factory.build_from_string

Accepts an optional datetime format string :datetime_format
Default DateTime format is %m/%d/%Y %H:%M %z
e.g. 05/25/2017 13:17-0800

Source | Google | Stack overflow

Edit

git clone [email protected]:education/classroom.git

cd classroom

open app/models/deadline/factory.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Deadline--Factory-build_from_string-for-pr


# Commit to git

git add app/models/deadline/factory.rbgit commit -m "better docs for Deadline::Factory.build_from_string"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Deadline--Factory-build_from_string-for-pr

hub pull-request


# Celebrate!