🔧 Fixed LoCG pull list scraping

This commit is contained in:
2025-05-06 18:17:30 -04:00
parent 9c5fb93d5b
commit 0e445ba3d4
3 changed files with 6 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ export const PullList = (): ReactElement => {
// datepicker
const date = new Date();
const [inputValue, setInputValue] = useState<string>(
format(date, "M-dd-yyyy"),
format(date, "yyyy/M/dd"),
);
// keen slider
@@ -86,8 +86,8 @@ export const PullList = (): ReactElement => {
<span className="text-md">
Pull List aggregated for the week from{" "}
<span className="underline">
<a href="https://www.tfaw.com/comics/new-releases.html">
Things From Another World
<a href="https://leagueofcomicgeeks.com">
League Of Comic Geeks
</a>
<i className="icon-[solar--arrow-right-up-outline] w-4 h-4" />
</span>
@@ -134,7 +134,7 @@ export const PullList = (): ReactElement => {
orientation={"vertical-2"}
imageUrl={issue.coverImageUrl}
hasDetails
title={ellipsize(issue.name, 25)}
title={ellipsize(issue.issueName, 25)}
>
<div className="px-1">
<span className="inline-flex mb-2 items-center bg-slate-50 text-slate-800 text-xs font-medium px-2.5 py-1 rounded-md dark:text-slate-900 dark:bg-slate-400">

View File

@@ -1,7 +1,7 @@
import React, { useState, useEffect } from "react";
import { AirDCPPSettingsConfirmation } from "./AirDCPPSettingsConfirmation";
import { ConnectionForm } from "../../shared/ConnectionForm/ConnectionForm";
import { useMutation, useQuery } from "@tanstack/react-query";
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
import axios from "axios";
import {
AIRDCPP_SERVICE_BASE_URI,

View File

@@ -36,7 +36,7 @@ export const DatePickerDialog = (props) => {
const handleDaySelect = (date) => {
setSelected(date);
if (date) {
setter(format(date, "yyyy-MM-dd"));
setter(format(date, "yyyy/MM/dd"));
apiAction();
closePopper();
} else {