简体   繁体   中英

How can I change a Laravel Nova metric's ending date?

By default, all Laravel Nova Metrics end at the current time. For instance, if I wanted to end it a day before so that the metric shows yesterday's results without showing today's, this doesn't appear to be possible. As of now, it will show both days. How can I accomplish showing only yesterday?

我能够通过扩展趋势类并手动将结束日期更改为最后完成的月份而不是当前日期来实现这一点。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM