hzrd149 / nostrudel

A sandbox for exploring nostr
https://nostrudel.ninja/
MIT License
122 stars 34 forks source link

Fix notification special name #157

Open netrunnercase opened 4 months ago

netrunnercase commented 4 months ago

if not currently in utc, the dayjs function was returning the wrong timestamp for beginning the day. it still had my timezone as part of it. this update uses the utc dayjs plugin to ensure we are using a utc-based comparison since event.created_at in nostr notes are supposed to be in utc time.

also added a basic nix flake file for getting a basic dev environment setup. i can remove this and put these files in the .gitignore if that'd be preferred.

hzrd149 commented 3 months ago

Sorry for ignoring this for so long, but this may not be an issue anymore since the next version does not show the "Today" or "Yesterday" label on notifications anymore