|
|
@ -57,7 +57,7 @@ public class TradeLogQuery {
|
|
|
|
params.put("from", fromDate.toDate());
|
|
|
|
params.put("from", fromDate.toDate());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (dateto != null) {
|
|
|
|
if (dateto != null) {
|
|
|
|
DateTime toDate = DateTime.parse(dateto, DateTimeFormat.forPattern("yyyyMMdd")).withZoneRetainFields(DateTimeZone.forTimeZone(TimeZone.getTimeZone(timezone))).plusDays(1).withZone(DateTimeZone.getDefault());
|
|
|
|
DateTime toDate = DateTime.parse(dateto, DateTimeFormat.forPattern("yyyyMMdd")).withZoneRetainFields(DateTimeZone.forTimeZone(TimeZone.getTimeZone(StringUtils.isNotBlank(timezone) ? timezone : "Australia/Melbourne"))).plusDays(1).withZone(DateTimeZone.getDefault());
|
|
|
|
params.put("to", toDate.toDate());
|
|
|
|
params.put("to", toDate.toDate());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|