mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Clarify comment.
This commit is contained in:
parent
06ca37cd25
commit
f8ad205e9f
1 changed files with 2 additions and 2 deletions
|
@ -123,13 +123,13 @@ public class APIManager {
|
|||
values.put(APIConstants.PARAMETER_FEEDID, feedId);
|
||||
}
|
||||
if (includeOlder != null) {
|
||||
// the API vends microsecond timestamps but for this call it requires milliseconds
|
||||
// the app uses milliseconds but the API wants seconds
|
||||
long cut = includeOlder.longValue();
|
||||
values.put(APIConstants.PARAMETER_CUTOFF_TIME, Long.toString(cut/1000L));
|
||||
values.put(APIConstants.PARAMETER_DIRECTION, APIConstants.VALUE_OLDER);
|
||||
}
|
||||
if (includeNewer != null) {
|
||||
// the API vends microsecond timestamps but for this call it requires milliseconds
|
||||
// the app uses milliseconds but the API wants seconds
|
||||
long cut = includeNewer.longValue();
|
||||
values.put(APIConstants.PARAMETER_CUTOFF_TIME, Long.toString(cut/1000L));
|
||||
values.put(APIConstants.PARAMETER_DIRECTION, APIConstants.VALUE_NEWER);
|
||||
|
|
Loading…
Add table
Reference in a new issue