- DatasetExtension.php save also Reference for datacite and dublin_core transformations

- oai:datacite.xslt für relatedIdentifiers
- oai: dc: datasetxml2oai-pmh.xslt für dc:relation
- dataset.php correct hasEmbargoPassed() method
This commit is contained in:
Arno Kaimbacher 2020-03-05 13:40:09 +01:00
parent fd98c6c09d
commit c0022e3c1c
4 changed files with 36 additions and 2 deletions

View file

@ -306,7 +306,8 @@ class Dataset extends Model
$embargoDate->minute = 59;
$embargoDate->second = 59;
return ($embargoDate->gt($now) == true);
return ($embargoDate->lessThan($now));
//return ($embargoDate->gt($now) == true);
}
public function getRemainingTimeAttribute()