- Delete old Vite+Svelte frontend - Initialize new SvelteKit project with TypeScript - Configure Tailwind CSS v4 + DaisyUI - Implement JWT authentication with auto-refresh - Create login page with form validation (Zod) - Add protected route guards - Update Docker configuration for single-stage build - Add E2E tests with Playwright (6/11 passing) - Fix Svelte 5 reactivity with $state() runes Known issues: - 5 E2E tests failing (timing/async issues) - Token refresh implementation needs debugging - Validation error display timing
12 lines
474 B
JavaScript
12 lines
474 B
JavaScript
// English [en]
|
|
// We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale
|
|
export default {
|
|
name: 'en',
|
|
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
|
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
|
ordinal: function ordinal(n) {
|
|
var s = ['th', 'st', 'nd', 'rd'];
|
|
var v = n % 100;
|
|
return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]";
|
|
}
|
|
}; |