Template base para proyectos SaaS multi-tenant. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React/Vite) - apps/database (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
15 lines
295 B
JavaScript
15 lines
295 B
JavaScript
export default (function (o, c) {
|
|
var proto = c.prototype;
|
|
|
|
proto.isoWeeksInYear = function () {
|
|
var isLeapYear = this.isLeapYear();
|
|
var last = this.endOf('y');
|
|
var day = last.day();
|
|
|
|
if (day === 4 || isLeapYear && day === 5) {
|
|
return 53;
|
|
}
|
|
|
|
return 52;
|
|
};
|
|
}); |