mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-02 07:42:12 -05:00
Set timestamps off by default
In order to preserve the previous status quo for now, this commit turns timestamps off by default. They can be turned on using /timestamps minutes or /timestamps seconds.
This commit is contained in:
@@ -46,7 +46,7 @@ function savePrefs() {
|
||||
}
|
||||
|
||||
function getTimestamp() {
|
||||
if (prefs.timestamps === 'off') return '';
|
||||
if ((prefs.timestamps === 'off') || (prefs.timestamps === undefined)) return '';
|
||||
var date = new Date();
|
||||
var components = [ date.getHours(), date.getMinutes() ];
|
||||
if (prefs.timestamps === 'seconds') {
|
||||
|
||||
Reference in New Issue
Block a user