mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 07:28:43 +01:00
Fix bug where display was not using user preference
This commit is contained in:
parent
77f2a043fc
commit
43449a0c24
@ -598,8 +598,7 @@ var et2_date_ro = et2_valueWidget.extend([et2_IDetachedDOM], {
|
|||||||
this.date.setTime(parseInt(_value)*1000);
|
this.date.setTime(parseInt(_value)*1000);
|
||||||
var display = this.date.toString();
|
var display = this.date.toString();
|
||||||
|
|
||||||
// TODO: Use user's preference, not browser's locale
|
switch(this._type) {
|
||||||
switch(this.type) {
|
|
||||||
case "date":
|
case "date":
|
||||||
display = date(egw.preference('dateformat'), this.date);
|
display = date(egw.preference('dateformat'), this.date);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user