ajuste de fecha en bot
This commit is contained in:
@ -62,7 +62,7 @@ public class TelegramBot extends TelegramLongPollingBot {
|
|||||||
private String construirResumenNoticias() {
|
private String construirResumenNoticias() {
|
||||||
LocalDate today = LocalDate.now();
|
LocalDate today = LocalDate.now();
|
||||||
String fechaInicio = today.format(DateTimeFormatter.ISO_DATE);
|
String fechaInicio = today.format(DateTimeFormatter.ISO_DATE);
|
||||||
String fechaFin = today.format(DateTimeFormatter.ISO_DATE);
|
String fechaFin = today.plusDays(1).format(DateTimeFormatter.ISO_DATE);
|
||||||
|
|
||||||
// Obtener las palabras clave de la API
|
// Obtener las palabras clave de la API
|
||||||
List<String> keywords = ApiService.getAllKeywords();
|
List<String> keywords = ApiService.getAllKeywords();
|
||||||
|
Reference in New Issue
Block a user