sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
DateAndTime::Calculations#at_end_of_quarter
Returns a new date/time at the end of the quarter. Example: 31st March, 30th June, 30th September. DateTime objects will have a time set to 23:59:59.
Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/activesupport-7.0.6/lib/active_support/core_ext/date_and_time/calculations.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-DateAndTime--Calculations-at_end_of_quarter-for-pr
# Commit to gitgit add app/server/ruby/vendor/activesupport-7.0.6/lib/active_support/core_ext/date_and_time/calculations.rbgit commit -m "better docs for DateAndTime::Calculations#at_end_of_quarter"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-DateAndTime--Calculations-at_end_of_quarter-for-pr
hub pull-request
# Celebrate!