Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix several issues #324

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

Fix several issues #324

wants to merge 23 commits into from

Conversation

DanTalash
Copy link
Contributor

@DanTalash DanTalash commented Feb 23, 2017

This should fix several problems with the library.

* Setting timezone for date-range directive
This reverts commit 727b6cf.
* Fixing logic flaw in getVisibleWeeks which incorrectly prepares weeks
for months where the first day falls on a Sunday.
* Dates in tests were not correct (month used for visible weeks test was
June 2014.
* This month starts on Sunday the 1st.
* The previous week starts on Sunday the 25th May 2014. This date was
incorrect.
* The following week ends on Sunday, the 5th July 2014. This date was
also incorrect.
* A previous change erroneously removed a CSS rule which was used to
offset the popup div in order to get the date-range directive working.
* Restored this CSS rule, and added a new rule for date-range directive
to fix the previous problem.
* Can now specify a callback function or min/maxDate by passing a set of
object keys into the picker.
* Eg, 'objectA.objectB.functionName' to search scopes for an object
called objectA, containing an object called objectB, containing a
function called functionName
* A new option has been added which controls what day will be drawn as
the first day of the week.
* The possibilities are 0 (sunday) to 6 (saturday).
* The default is 0 (sunday)
* If the provided value is not within a valid range (0-6) then the
default value is selected.
# Conflicts:
#	app/scripts/datePicker.js
#	app/scripts/datePickerUtils.js
#	app/scripts/dateRange.js
#	app/scripts/input.js
#	bower.json
#	dist/angular-datepicker.js
#	dist/angular-datepicker.min.js
#	package.json
@DanTalash DanTalash changed the title Fix scoping issue with callbacks Fix several issues Feb 25, 2017
@DanTalash
Copy link
Contributor Author

DanTalash commented Feb 28, 2017

@eralha and @g00fy-, there appears to be quite some delay with getting PRs merged. Do you guys need anybody to help maintain this repo? I am willing to help.

@ovaldi
Copy link

ovaldi commented May 9, 2017

@eralha and @g00fy-, there appears to be quite some delay with getting PRs merged. Do you guys need anybody to help maintain this repo?

+1

xibre referenced this pull request in xibre/angular-datepicker Aug 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants