📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
fix: subscribe page always displays today's date
Blue Mouseff30da4ba1da
diff --git a/web/app/pages/Subscribe/Subscribe.tsx b/web/app/pages/Subscribe/Subscribe.tsxindex 330c72a40..dd95a58d4 100644--- a/web/app/pages/Subscribe/Subscribe.tsx+++ b/web/app/pages/Subscribe/Subscribe.tsx@@ -175,17 +175,15 @@ const Subscribe = () => {)}- const trialEndDate = user?.trialEndDate- ? new Date(user.trialEndDate)- : new Date()-const dateFormatter = new Intl.DateTimeFormat(i18n.language, {month: 'long',day: 'numeric',year: 'numeric',})- const formattedEndDate = dateFormatter.format(trialEndDate)+ const formattedEndDate = dateFormatter.format(+ new Date(Date.now() + TRIAL_DAYS * 24 * 60 * 60 * 1000),+ )return (<div className='flex min-h-screen flex-col items-center bg-gray-50 p-4 lg:p-8 dark:bg-slate-950'>