fix: complete registration frontend flow
Deploy banu-front / deploy (push) Successful in 1m40s

This commit is contained in:
Server Migration
2026-08-15 17:28:40 +03:30
parent d94a96b25e
commit b64f528c0d
20 changed files with 431 additions and 158 deletions
+4 -8
View File
@@ -35,8 +35,7 @@ export function gregorianToJalaliString(isoString, separator = '/', persianDigit
jd = jd.replace(/\d/g, (d) => enToFa[d])
}
return `${jy}${separator}${jm}${separator}${jd}`
} catch (error) {
console.error('Date conversion error:', error)
} catch {
return ''
}
}
@@ -83,8 +82,7 @@ export function gregorianToJalaliStringLong(isoString, separator = '/', persianD
}
return ` ${jy}${separator}${jm}${separator}${jd}، ${hh}:${mm}`
} catch (error) {
console.error('Date conversion error:', error)
} catch {
return ''
}
}
@@ -98,8 +96,7 @@ export function JalaliToGregorianString(jalaliStr) {
2,
'0'
)}T00:00:00.000Z`
} catch (error) {
console.log('Jalali to Gregorian conversion error:', error)
} catch {
return ''
}
}
@@ -119,8 +116,7 @@ export function JalaliToGregorianStringWithTime(jalaliDateTimeStr) {
2,
'0'
)}T${timePart}:00.000Z`
} catch (error) {
console.log('Jalali to Gregorian with time conversion error:', error)
} catch {
return ''
}
}