mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	Add relative suffix to timediff macro output
This commit is contained in:
		@@ -401,7 +401,7 @@ function timeDiffReplace(input) {
 | 
			
		||||
        const time2 = moment(matchPart2);
 | 
			
		||||
 | 
			
		||||
        const timeDifference = moment.duration(time1.diff(time2));
 | 
			
		||||
        return timeDifference.humanize();
 | 
			
		||||
        return timeDifference.humanize(true);
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    return output;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user