[FIX] web: set the formatted date in the datepicker
Fixes #8867 Closes #8905
This commit is contained in:
committed by
Nicolas Martinelli
parent
6f5ee9da68
commit
e68b304c55
@@ -48,7 +48,7 @@ var DateWidget = Widget.extend({
|
||||
set_value: function(value) {
|
||||
this.set({'value': value});
|
||||
this.$input.val((value)? this.format_client(value) : '');
|
||||
this.picker.setValue(value);
|
||||
this.picker.setValue(this.format_client(value));
|
||||
},
|
||||
get_value: function() {
|
||||
return this.get('value');
|
||||
|
||||
Reference in New Issue
Block a user