diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index cbaa4660e..0d40b782c 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,4 +1,5 @@ 7.7.4 + - fixed #10122: fixed date object to not change the value in 'toHtml' function. - fixed #9764: drag drop now uses the handle for 'pickup' rather than the whole object. - Default Survey Question bundles now store full answer information in json. Everything configured in an answer will be saved in a default configuration. - Survey [[question variable]] now returns the shown answer text for multiple choice questions, and the recorded value for non-multiple choice questions. diff --git a/lib/WebGUI/Form/Date.pm b/lib/WebGUI/Form/Date.pm index 311e56dcc..bf1bd22dd 100644 --- a/lib/WebGUI/Form/Date.pm +++ b/lib/WebGUI/Form/Date.pm @@ -221,7 +221,7 @@ sub toHtml { || !$self->get("value") || $self->get("value") =~ m/^\d+$/) { # Epoch format - $value = $self->set("value",$self->session->datetime->epochToSet($self->getOriginalValue)); + $value = $self->session->datetime->epochToSet($self->getOriginalValue); } else { # MySQL format