Project

General

Profile

« Previous | Next » 

Revision ef6a4ce9

Added by Andreas Kohlbecker over 4 years ago

ref #8245 stripping trailing zeros in description element time priods, with test

View differences:

modules/cdm_dataportal/includes/descriptions.inc
460 460

  
461 461
  $timescope_markup = '';
462 462
  if(isset($element->timeperiod)){
463
    $timescope_markup = ' ' . timePeriodToString($element->timeperiod, false);
463
    $timescope_markup = ' ' . timePeriodToString($element->timeperiod, true);
464 464
  }
465 465

  
466 466
  // handle the special case were the TextData is used as container for original source with name

Also available in: Unified diff