_blog_idx_for_index: Fix dates
This commit is contained in:
parent
0dd7444083
commit
317aa3a2f3
4
qsgen2
4
qsgen2
@ -593,9 +593,9 @@ function _blog_idx_for_index() {
|
||||
|
||||
local adate=( $( echo ${sdate} ) )
|
||||
local caladay="${adate[1]}"
|
||||
local calnday="${adate[2]}"
|
||||
local calnday="${adate[4]}"
|
||||
local calmonth="${adate[3]}"
|
||||
local calyear="${adate[4]}"
|
||||
local calyear="${adate[2]}"
|
||||
|
||||
local bdate="${adate[1]} - ${adate[4]}/${adate[3]}/${adate[2]}"
|
||||
blog_list_content=$(echo "${blog_list_tpl}" | perl -pe "s|BLOGURL|${url}|g")
|
||||
|
Loading…
Reference in New Issue
Block a user