### 🐛 Bug Fix **Fixes #13276 - Website does not show year of releases** ### 📝 Description Fixed the Twenty website to properly display release years for previous year releases and standardized date formatting. **Key Changes:** - Show year for releases from previous years - Abbreviate month names for consistent layout (e.g., "April" → "Apr") - Added fallback to prevent runtime errors when no releases exist ### 🔧 Files Changed - **`formatDisplayDate.ts` (new)** - Utility function for consistent date formatting - **`Release.tsx`** - Use utility function and improve CSS layout - **`page.tsx`** - Add fallback for undefined `latestGithubRelease` ### 🧪 Example Output | Before | After | |--------|-------| | `April 25th 2024` (missing year) | `Apr 25th 2024` | | `April 25th 2025` | `Apr 25th` | | Runtime error | Graceful fallback | ### � Screenshots **Before & After:** <img width="1055" height="778" alt="image" src="https://github.com/user-attachments/assets/68f227ec-2b1f-486b-89a6-8c3d8058ba36" /> <img width="1055" height="778" alt="image" src="https://github.com/user-attachments/assets/74ed84b3-3a65-4090-b371-a48c25740bbd" /> --- **Related Issue:** Closes #13276 --------- Co-authored-by: Félix Malfait <felix@twenty.com>
Twenty-Website
This is used for the marketing website (twenty.com). This is not related in any way to the main app, which you can find in twenty-front and twenty-server.
Getting Started
We're using Next.JS We're using Postgres for the database. Mandatory for the website to work, even locally.
-
Copy the .env.example file to .env and fill in the values.
-
Run the migrations:
npx nx run twenty-website:database:migrate
- From the root directory:
npx nx run twenty-website:dev
Then open http://localhost:3000 with your browser to see the result.
Or to build in prod:
npx nx run twenty-website:build
npx nx run twenty-website:start