KaraKaraWitch commited on
Commit
e49179c
·
verified ·
1 Parent(s): 914f9ec

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -163,7 +163,7 @@
163
  const machineId = (snowflakeId >> 12n) & 0x3FFn; // 10 bits
164
  const sequenceId = snowflakeId & 0xFFFn; // 12 bits
165
 
166
- const date = new Date(Math.floor(Number(timestampMs)/1000));
167
  // Handle potential invalid dates gracefully
168
  const isoString = isNaN(date.getTime()) ? "Invalid Date" : date.toISOString();
169
 
 
163
  const machineId = (snowflakeId >> 12n) & 0x3FFn; // 10 bits
164
  const sequenceId = snowflakeId & 0xFFFn; // 12 bits
165
 
166
+ const date = new Date(Math.floor(Number(timestampMs)));
167
  // Handle potential invalid dates gracefully
168
  const isoString = isNaN(date.getTime()) ? "Invalid Date" : date.toISOString();
169