Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Time Field does not hold information.

Time Field does not hold information. 01 Aug 2015 09:37 #13369

  • jonathanbell
  • jonathanbell's Avatar
  • Offline
  • Premium Member
  • Posts: 147
  • Thank you received: 5
  • Karma: 1
I have tested the time field , as I notice on my site the when editing an existing form, the time disappears from a time field. I thought I was imagining things but it does it every time you go in to edit. I have tried this in the sandbox and the same thing happens.

Can this be fixed please.
The administrator has disabled public write access.

Time Field does not hold information. 04 Aug 2015 10:38 #13377

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Right. I see.

It is a bug in JDom.
html.form.input.clock.
Line 90

replace
$formatedTime = $date->format($this->dateFormat, !empty($this->timezone));

by
$formatedTime = $date->format($this->timeFormat, !empty($this->timezone));

I will fix that as soon as I can in the generated JDom lib. For the moment, just apply the patch manually.
Coding is now a piece of cake
The administrator has disabled public write access.

Time Field does not hold information. 24 Sep 2015 17:55 #13495

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Fixed.
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.150 seconds

Get Started