add rugosty points function on view
put set date after datepicker format call to fix wrong date in all forms