mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-14 13:33:08 +00:00
[DS-401] Backed out as it raised more questions than it answered.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5822 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -203,18 +203,7 @@ public class InstallItem
|
||||
|
||||
if (currentDateIssued.length == 0)
|
||||
{
|
||||
DCDate issued = null;
|
||||
try
|
||||
{
|
||||
issued = new DCDate(now.getYear(),now.getMonth(),now.getDay(),-1,-1,-1);
|
||||
}
|
||||
catch (DCDateIllegalArgumentException e)
|
||||
{
|
||||
// The parameters should never be invalid since they are generated from the current date,
|
||||
// but we still have to deal with the exception anyway.
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
DCDate issued = new DCDate(now.getYear(),now.getMonth(),now.getDay(),-1,-1,-1);
|
||||
item.addDC("date", "issued", null, issued.toString());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user