Greasy Fork is available in English.

Show date normally on Twitter

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

< Commentaires sur Show date normally on Twitter

Avis: Bon - le script fonctionne correctement

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.

AeamaNAuteur
§
Posté le: 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 :

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

Poster une réponse

Connectez-vous pour poster une réponse.