Edit history

Freeform Date- and time format selection independent from language has not been edited, so there are no earlier versions.

Current version | Original by FantasyDragon14
Show

Freeform Date- and time format selection independent from language

Current problem

Timestamp (date + time) and Date is largely dependent on language selection. We can already switch between 24h and 12h time manually, but further customization is not possible

Proposed change

let me customize the entire timestamp string in various situations (message timestamps, on hover, timestamps in messages). Give a few presets, Ideally with a freetext field for completely custom Timestamps using variables like $yyyy for 4-digit-year, $yy for 2 digit year, $mm for 2-digit month , $M for month name, $Z for timezone, etc. I want to be able to for example set "sent $agoAmount" as message timestamp with "$yyyy-$mm-$ddT$HH:$MM:$SSZ$Z" timestamp on hover

Additional information

An example for an implementation is Betterdiscords CompleteTimestamps Plugin, which allows for Fulltext Customization via variables, e.g.
"timestampDate": {
				"formatString": "$date T $time, $agoAmount",
				"dateString": "$yyyy-$mm-$dd"
			},
			"tooltipDate": {
				"formatString": "$date T $time",
				"dateString": "$yyyy-$mm-$dd"
			}