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

add format type #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

HawkeyePierce89
Copy link

Add sb-date-format attribute.

Usage:

<div sb-date-select ng-model="obj.date1" sb-date-format="DD-MM-YYY"></div>

or

<div sb-date-select ng-model="obj.date1" sb-date-format="toDate"></div>

or we can don't use this attribute, in this case will be used format "YYYY-MM-DD"

<div sb-date-select ng-model="obj.date1"></div>

And need approved this PR for add usage info this attribute

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.

1 participant