View Single Post
Old 09-13-2025, 10:06 PM   #1538
mijkala
Member
mijkala began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Dec 2024
Device: kobo clara bw
I'm using an action chain to clean up my status section for fics and it's been working well, until I noticed one that won't change? Here's the code I have for both

Code:
 program:
now = format_date(today(),'iso');
updated = $$#ao3_last_updated;
status = $#status;

	if 
		status=='In-Progress'
		&& days_between(now, updated) ># 183
	then 
		'Dormant'

	elif
		status=='In-Progress'
		&& days_between(now, updated) ># 900
	then 
		'Hiatus'

	else 
		status
	fi
and
Code:
program:
now = format_date(today(),'iso');
updated = $$#ao3_last_updated;
status = $#status;

	if
  		status=='Dormant'  
 		&& days_between(now, updated) ># 900  
	then    
		'Hiatus' 

	else 
		status
	fi
They're both set up under 'Status Clean Up' and effecting my custom column #completed_date , but one fic won't change from "In-Progress" after running this chain, even though the last time it was updated was in 2016. Any ideas why this is happening? I had these two combined together, but tried to separate it and see if that was the issue but it didn't fix it

Here's the fic if you need it https://archiveofourown.org/works/82...pters/18891986
mijkala is offline   Reply With Quote