Author: nathangray
New Revision: 55037
URL: http://svn.stylite.de/viewvc/egroupware?rev=55037&view=rev
Log:
Add custom date fields to list to formatted for spreadsheets
Modified:
trunk/infolog/inc/class.infolog_merge.inc.php
— trunk/infolog/inc/class.infolog_merge.inc.php (original)
+++ trunk/infolog/inc/class.infolog_merge.inc.php Wed Feb 17 00:42:25 2016
@@ -122,11 +122,17 @@
// Set any missing custom fields, or the marker will stay
$array = $record->get_record_array();
-
foreach($this->bo->customfields as $name => $field)
{
if(!$array['#'.$name])
{
$array['#'.$name] = '';
-
}
-
// Format date cfs per user preferences
-
if($field['type'] == 'date' || $field['type'] == 'date-time')
-
{
-
$this->date_fields[] = '#'.$name;
-
$array['#'.$name] = egw_time::to($array['#'.$name], $field['type'] == 'date' ? true : '');
}
}
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs