bug#4257 - refixed datetimepicker view of record edit page

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