Project

General

Profile

Revision c7f92453

IDc7f92453f44eb0b70a3eb77dab51916cbfdee73e
Parent c5294246
Child 3a3d658d

Added by Andreas Kohlbecker almost 4 years ago

ref #3061 using the full publication timePeriod instead of only start

View differences:

modules/cdm_dataportal/cdm_api/cdm_api.module
587 587
      return $year;
588 588
    }
589 589
  }
590
  return;
590
  return '';
591 591
}
592 592

  
593 593
/**
......
610 610
      return $month;
611 611
    }
612 612
  }
613
  return;
613
  return '';
614 614
}
615 615

  
616 616
/**
......
633 633
      return $day;
634 634
    }
635 635
  }
636
  return;
636
  return '';
637 637
}
638 638

  
639 639
/**
......
682 682
  $date = '';
683 683

  
684 684
  if ($y == '00' && $stripZeros) {
685
    return;
685
    return '';
686 686
  }
687 687
  else {
688 688
    $date = $y;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)