Guide for tag searching
- No need to type "#".
- All lowercase, no spaces
- No abbreviations or acronyms (e.g."codeoftheburgerking", not "cotbk")
Feed
-
I've finally added a "search by tag" feature to this microblog!
I originally also wanted a "exclude spoilers" button, but considering how 70% of my posts are spoilers, it seemed like misplaced effort. Instead, I made a landing page with the appropriate warnings and directions. The microblog link on my main site will connect to this landing page.
-
Oh my god i just realised i could change the timezone of the server. I didnt have to implement that stupid offset function to get the right time 🤦♂️
-
I'm finally back to coding! I've decided not to refactor Javelin Hoard. Too much work…
I haven't touched React for about a month and now everything looks so foreign to me T_T
-
the nightmare is finally over…
I spent most of the day trying to solve this timestamp issue (⌒_⌒;).
I tried fetching nz time from the world time api. It worked fine locally, but refused to fetch in production… idk what happened there. And then i tried converting the server time to utc and doing some scary math to get nz time. But that didnt account for daylight saving. And also it weirdly made all the timestamps the same. Maybe it stored the result in a variable and kept using that stale value every time i created a new post? idk
Eventually, I found out that my server time is in EST. So i just add the 18 hour offset to the new Date object with setHours() and voila~ 🎊
-
First post on prod!!!
edit: oh god the time is wrong o(TヘTo)