MCPcopy Create free account
hub / github.com/MathMan05/Fermi / formatTime

Function formatTime

src/webpage/message.ts:1747–1760  ·  view source on GitHub ↗
(date: Date)

Source from the content-addressed store, hash-verified

1745 for (const i in this.reactions) {
1746 const thing = this.reactions[i];
1747 console.log(thing, data);
1748 if (thing.emoji.name === data.name || (thing.emoji.id === data.id && data.id)) {
1749 thing.count--;
1750 if (thing.count === 0) {
1751 this.reactions.splice(Number(i), 1);
1752 this.updateReactions();
1753 return;
1754 }
1755 if (id === this.localuser.user.id) {
1756 thing.me = false;
1757 this.updateReactions();
1758 return;
1759 }
1760 }
1761 }
1762 }
1763 reactionRemoveAll() {

Callers 2

generateMessageMethod · 0.85
tickMethod · 0.85

Calls 1

updateTimesFunction · 0.85

Tested by

no test coverage detected