Skip to content

Commit 8b4caa7

Browse files
committed
dmDates: fix
1 parent ef47ed6 commit 8b4caa7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/dmDates/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"$schema": "https://moonlight-mod.github.io/manifest.schema.json",
33
"id": "dmDates",
4-
"version": "1.0.2",
4+
"version": "1.0.3",
55
"meta": {
66
"name": "DM Dates",
77
"tagline": "Implements dates next to direct messages like mobile",
88
"authors": ["Cynosphere"],
99
"tags": ["chat", "qol"],
1010
"source": "https://github.com/Cynosphere/moonlight-extensions",
1111
"donate": "https://ko-fi.com/Cynosphere",
12-
"changelog": "No more 56y"
12+
"changelog": "Fixes for latest Discord"
1313
},
1414
"dependencies": ["spacepack", "componentEditor", "common"],
1515
"apiLevel": 2

src/dmDates/webpackModules/dmDates.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { Text } from "@moonlight-mod/wp/discord/components/common/index";
55
import { useStateFromStores } from "@moonlight-mod/wp/discord/packages/flux";
66
import { ReadStateStore } from "@moonlight-mod/wp/common_stores";
77

8-
const getTimestampString = spacepack.findByCode('["XIGt+f"]')[0].exports;
9-
const getAbbreviatedFormatter = spacepack.findFunctionByStrings(getTimestampString, '["XIGt+f"]');
8+
const getTimestampString = spacepack.findByCode('["XIGt+W"]')[0].exports;
9+
const getAbbreviatedFormatter = spacepack.findFunctionByStrings(getTimestampString, '["XIGt+W"]');
1010
const { extractTimestamp } = spacepack.require("discord/utils/SnowflakeUtils").default;
1111

1212
function DMDate({ channel }: { channel: any }) {

0 commit comments

Comments
 (0)