[Git][noosfero/noosfero][master] 2 commits: Removes date field format customization

Rodrigo Souto gitlab at mg.gitlab.com
Tue Mar 22 14:14:55 BRT 2016


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
80b720d8 by Gabriel Silva at 2016-03-18T12:47:21+00:00
Removes date field format customization

Signed-off-by: Gabriel Silva <gabriel93.silva at gmail.com>

- - - - -
dd7e39a5 by Rodrigo Souto at 2016-03-22T17:14:07+00:00
Merge branch 'removes_date_field_formats' into 'master'

Removes date fields format customization

Aims to fix a bug where the _datepicker_ component was not able to correctly retrieve the date displayed in the text field due format compatibility. Since there is no reliable way to convert the formats (used by `strftime` and the _datepicker_), the option to customize the date format was removed from the `date_field` and `date_range_field` helpers.

See merge request !811
- - - - -


7 changed files:

- app/helpers/forms_helper.rb
- app/views/cms/_event.html.erb
- app/views/cms/_text_fields.html.erb
- app/views/custom_fields/_date.html.erb
- app/views/profile_editor/_person_form.html.erb
- plugins/community_track/views/cms/community_track_plugin/_step.html.erb
- plugins/custom_forms/views/custom_forms_plugin_myprofile/_form.html.erb


Changes:

=====================================
app/helpers/forms_helper.rb
=====================================
#<Gitlab::Git::Diff:0x007f881cf29120>

=====================================
app/views/cms/_event.html.erb
=====================================
#<Gitlab::Git::Diff:0x007f881cf28c20>

=====================================
app/views/cms/_text_fields.html.erb
=====================================
#<Gitlab::Git::Diff:0x007f881cf3c310>

=====================================
app/views/custom_fields/_date.html.erb
=====================================
#<Gitlab::Git::Diff:0x007f881cf43db8>

=====================================
app/views/profile_editor/_person_form.html.erb
=====================================
#<Gitlab::Git::Diff:0x007f881cf438b8>

=====================================
plugins/community_track/views/cms/community_track_plugin/_step.html.erb
=====================================
#<Gitlab::Git::Diff:0x007f881cf433b8>

=====================================
plugins/custom_forms/views/custom_forms_plugin_myprofile/_form.html.erb
=====================================
#<Gitlab::Git::Diff:0x007f881cf42eb8>


View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/adb0fcbf3a303249c246291733308e5f3c3f22f2...dd7e39a5dc2541c35f0477d89cab76961f1d8efc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20160322/95345fb1/attachment-0001.html>


More information about the Noosfero-dev mailing list