Project

General

Profile

« Previous | Next » 

Revision 60109

For incremental harvesting: return the date with date granularity level.

View differences:

FindDateRangeForIncrementalHarvestingJobNode.java
29 29
		final long d = findLastSuccessStartDate();
30 30
        LocalDateTime zdt = LocalDateTime.ofInstant(Instant.ofEpochMilli(d), ZoneId.of("Etc/UTC"));
31 31
        zdt = zdt.minusHours(6);
32
        return DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss'Z'").format(zdt);
32
        return DateTimeFormatter.ofPattern("yyyy-MM-dd").format(zdt);
33 33
    }
34 34

  
35 35

  

Also available in: Unified diff