Skip to content

[Bug 1083914] Changed the date input made by Datepicker to YYY-MM-DD#2695

Merged
rehandalal merged 2 commits into
mozilla:masterfrom
anushbmx:master
Nov 6, 2015
Merged

[Bug 1083914] Changed the date input made by Datepicker to YYY-MM-DD#2695
rehandalal merged 2 commits into
mozilla:masterfrom
anushbmx:master

Conversation

@anushbmx

Copy link
Copy Markdown
Contributor

Fixes the wrong date formate inserted by datepicker to create announcement form.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm not sure why you deleted the addDatePicker function. you should have just modified that.

@anushbmx

Copy link
Copy Markdown
Contributor Author

@rehandalal Jquery add's datepicker if the input type is set to date. So now you gonna ask why didnt this happen before, it's because we haven't included jquery before I added this.

It works on my clone you can have a look.

@rehandalal

Copy link
Copy Markdown
Contributor

that doesn't really answer my question about why you deleted that function. to me since you're always using the same parameters it should just go into a single reusable function addDatePicker.

@anushbmx

Copy link
Copy Markdown
Contributor Author

@rehandalal I got it, you mean change this inside the reusable function ok. My bad i missed :D
Changes coming right up.

@anushbmx

Copy link
Copy Markdown
Contributor Author

@rehandalal I have updated it now.

@rehandalal

Copy link
Copy Markdown
Contributor

lgtm. thanks!

rehandalal added a commit that referenced this pull request Nov 6, 2015
[Bug 1083914] Changed the date input made by Datepicker to YYY-MM-DD
@rehandalal
rehandalal merged commit fceb44c into mozilla:master Nov 6, 2015
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