fix(Scout): fix month being off by one
i love android dev
This commit is contained in:
parent
9250b3c41b
commit
c704807522
2 changed files with 1 additions and 2 deletions
|
|
@ -211,7 +211,6 @@ class Scout : Plugin() {
|
|||
param.result = ssProvider.hasForwardString
|
||||
}
|
||||
|
||||
// private final String createHasAnswerRegex(SearchStringProvider searchStringProvider) {
|
||||
patcher.instead<QueryParser.Companion>(
|
||||
"createHasAnswerRegex",
|
||||
SearchStringProvider::class.java
|
||||
|
|
|
|||
|
|
@ -30,6 +30,6 @@ class DatePickerFragment(
|
|||
}
|
||||
|
||||
override fun onDateSet(picker: DatePicker, year: Int, month: Int, day: Int) {
|
||||
callback("%04d-%02d-%02d".format(year, month, day))
|
||||
callback("%04d-%02d-%02d".format(year, month + 1, day))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue