bug#4257 - fixed datetimepicker view of record edit page

Signed-off-by: Viduranga Wijesooriya <vpowerrc@gmail.com>