Open kidzgy opened 4 months ago
Find the following function in template.html
and change toLocaleString()
to something that suits you better:
function timestampToDate(timestamp){
// Convert UNIX timestamp to local date
// If you don't like the date format, try something else, such as toLocaleDateString() manually formatting the date here
return new Date(timestamp * 1000).toLocaleString();
}
For example, 2022/5/2 is displayed as 2022/05/02, so that the dates can be aligned neatly and with the same width.