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

Added class 'pickadate-another-month' #53

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

Conversation

jlsalvador
Copy link

No description provided.

@gschammah
Copy link
Contributor

Hi @jlsalvador

What is this PR about? the class you are adding is not including in the css

@jlsalvador
Copy link
Author

Hello @gschammah

On our website we need to add a new class to differ the days between the months. So... I added the new class.

Before:
image

After:
image

If you like, I can add "pickadate-another-month" to the CSS provided by angular-pickadate with a lighter gray color, like a demo.

@chmartinez
Copy link

+1 to this.
And since the module structure changed, you need to add the new class using the new "date" object:
if (date.date.getMonth() !== scope.currentDate.getMonth()) date.classNames.push('pickadate-another-month');

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.

3 participants