Project

General

Profile

Revision c02db033

IDc02db033ac3cc5571cbb043a0dc2f7fe096203d4
Parent b47ca96f
Child caac9df5

Added by Katja Luther 7 months ago

ref #8817: workaround for timeperiods with time 00:00:00 for missing time information

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/strategy/parser/TimePeriodParser.java
115 115
		}else if (isEnglishParsable(periodString)){
116 116
		    TimePeriod enDate = parseEnglishDate(periodString, null);
117 117
		    result.setStart(enDate.getStart());
118
		}else{
118
		}else if (periodString.contains("T00:00:00")){
119
		    result = parseString(timePeriod, periodString.replace("T00:00:00", ""));
120
	    }else{
119 121
			result.setFreeText(periodString);
120 122
		}
121 123
		return result;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)