Skip to content

Commit f182841

Browse files
committed
fixed months associations for awstats index
1 parent 2981759 commit f182841

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-update-web-domain-stat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ build_awstats() {
110110
grep -v icon | sort -r )
111111
for link in $months; do
112112
year=$(echo $link |cut -f 1 -d \-)
113-
month=$(echo $link |cut -f 2 -d \-)
113+
month=$(echo $link |cut -f 2 -d \-| sed -e "s/^0//")
114114
case "$month" in
115115
1) month='January';;
116116
2) month='February';;

0 commit comments

Comments
 (0)