Update index.html
Browse files- 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)
|
| 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 |
|