修改时间为4PM
This commit is contained in:
parent
ab43f5f8b9
commit
a38ea6964f
@ -50,12 +50,11 @@ export const useStockQuote = createGlobalState(() => {
|
|||||||
'&to=' +
|
'&to=' +
|
||||||
toDate;
|
toDate;
|
||||||
const res = await axios.get(url)
|
const res = await axios.get(url)
|
||||||
// console.error(res)
|
|
||||||
if (res.status === 200) {
|
if (res.status === 200) {
|
||||||
if (res.data.status === 0) {
|
if (res.data.status === 0) {
|
||||||
lastTradingDay = dayjs(res.data.data[0].date)
|
lastTradingDay = dayjs(res.data.data[0].date)
|
||||||
}
|
}
|
||||||
return lastTradingDay.format('MMM D, YYYY, h:mm A [EDT]')
|
return lastTradingDay.format('MMM D, YYYY') + ' 4:00 PM [EDT]'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user