feat: Add Europe/Bucharest and expand timezone options, update DTOs for timezone and time format

This commit is contained in:
2025-10-03 12:25:15 +00:00
parent a6d6ee18c2
commit 9c7bdb68d5
2 changed files with 19 additions and 0 deletions

View File

@@ -14,6 +14,10 @@ export class UserPreferencesDto {
@IsOptional()
@IsIn(['metric', 'imperial'])
measurementUnit?: 'metric' | 'imperial';
@IsOptional()
@IsIn(['12h', '24h'])
timeFormat?: '12h' | '24h';
}
export class UpdateProfileDto {
@@ -25,6 +29,10 @@ export class UpdateProfileDto {
@IsString()
locale?: string;
@IsOptional()
@IsString()
timezone?: string;
@IsOptional()
@IsObject()
@ValidateNested()