Update 'src/mark-new-feed-entries'

This commit is contained in:
Thelie 2021-10-17 14:33:54 +02:00
parent 85da5053cb
commit bf966b7c90

View file

@ -1,5 +1,22 @@
#!/bin/sh #!/bin/sh
# Copyright (c) 2021 Daniel Mowitz <xslfeed.daniel@mowitz.rocks>
#
# This file is part of xslfeed.
#
# xslfeed is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# xslfeed is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with xslfeed. If not, see <https://www.gnu.org/licenses/>.
file=$1 file=$1
curr=`date -d "yesterday 00:00" +%s` curr=`date -d "yesterday 00:00" +%s`
lines=() lines=()