mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 19:33:54 +01:00
Fix date formatting, remove time from date only custom field
This commit is contained in:
parent
fc253e2564
commit
1b07e20fd4
@ -123,7 +123,7 @@ class filemanager_merge extends bo_merge
|
|||||||
// Format date cfs per user preferences
|
// Format date cfs per user preferences
|
||||||
if($field['type'] == 'date' || $field['type'] == 'date-time')
|
if($field['type'] == 'date' || $field['type'] == 'date-time')
|
||||||
{
|
{
|
||||||
$file['#'.$name] = egw_time::to($file['#'.$name]);
|
$file['#'.$name] = egw_time::to($file['#'.$name], $field['type'] == 'date' ? true : '');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user