Greasy Fork is available in English.

Show date normally on Twitter

Like this, 70/12/31(Th) 23:59:59.

< Feedback on Show date normally on Twitter

Review: Good - script works

§
Posted: 31-03-2024

Thanks for this great script, but may I also suggest a new form of date and time format? And that is yyyy-mm-dd hh:mm:ss, eg, 2023-03-31 23:45:10.

If you can, could you also help to add a (yyyy-1911) version? That is, for the date of 2023-03-31, it should be 113-03-31?

Thank you so much if you could help.

I have looked through your code and tried to modify myself but I failed to find how to and therefore I have to trouble you with this trivial matter.

AeamaNAuthor
§
Posted: 02-04-2024

Hello!
Please try the new one.

If necessary, please change lines 468 to 471 as follows.

	       f == 5 ? '20'+ye+'-'+mo+'-'+da+' '+ho+':'+mi :
	       f == 6 ? '20'+ye+'-'+mo+'-'+da+' '+ho+':'+mi+':'+se :
	       f == 7 ? '20'+ye+'-'+mo+'-'+da+'('+we+') '+ho+':'+mi :
	       f == 8 ? '20'+ye+'-'+mo+'-'+da+'('+we+') '+ho+':'+mi+':'+se :
§
Posted: 02-04-2024

Thank you! It works out fine. And now I know where to add new formats if I needed ;)

Post reply

Sign in to post a reply.