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:

themes/palmweb_2/template.php
261 261
  }
262 262

  
263 263
  $year = '';
264
  if (isset($reference->datePublished->start)) {
265
    $year = partialToYear($reference->datePublished->start);
264
  if (isset($reference->datePublished)) {
265
    $year = timePeriodToString($reference->datePublished, true, 'YYYY');
266 266
  }
267 267
  if(isset($author_team->titleCache)){
268 268
    $citation = _short_form_of_author_team ($author_team->titleCache) . (!empty($year) ? '. ' . $year : '');

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)