fix a bug

This commit is contained in:
naskya 2023-04-15 01:37:53 +09:00
parent 06d56aeb41
commit f531ed2ab2
No known key found for this signature in database
GPG key ID: 164DFF24E2D40139

View file

@ -363,10 +363,12 @@ const timeForThem = $computed(() => {
/[^A-Za-zÁĆÉǴÍḰĹḾŃÓṔŔŚÚÝŹáćéǵíḱĺḿńóṕŕśúýź\-\'\.].*/,
""
),
props.user.location!.replace(
/[^A-Za-z0-9ÁĆÉǴÍḰĹḾŃÓṔŔŚÚÝŹáćéǵíḱĺḿńóṕŕśúýź\-\'\.\s].*/,
""
),
props.user
.location!.replace(
/[^A-Za-z0-9ÁĆÉǴÍḰĹḾŃÓṔŔŚÚÝŹáćéǵíḱĺḿńóṕŕśúýź\-\'\.\s].*/,
""
)
.trim(),
];
for (const city of maybeCityNames) {