Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

History only works for the year 2020 #1

Open
Adrian474 opened this issue Jan 8, 2021 · 1 comment
Open

History only works for the year 2020 #1

Adrian474 opened this issue Jan 8, 2021 · 1 comment

Comments

@Adrian474
Copy link

for d in `ls -r -1 $HTMLDIR/index-20* | head -$HISTTIME | rev | cut -c6-11 | rev`

When building the history, the script iterates through the most recent files:

    for d in `ls -r -1 $HTMLDIR/index-20* | head -$HISTTIME | rev | cut -c6-11 | rev`

This only matches history files from the year 2020 (i.e. starting with index-20). Suggest change to:

    for d in `ls -r -1 $HTMLDIR/index-* | head -$HISTTIME | rev | cut -c6-11 | rev`
@kx1t
Copy link
Owner

kx1t commented Jan 8, 2021

Thanks, I will commit the change when I have some time tomorrow!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants