design dark mode add-doctor & change field time to date-picker
This commit is contained in:
@@ -18,3 +18,6 @@ export const convertToJalali = (date) => {
|
||||
|
||||
return `${jalaliYear}/${jalaliMonth}/${jalaliDay}`;
|
||||
};
|
||||
|
||||
export const handleTwoLength = (value) =>
|
||||
String(value).length === 1 ? `0${value}` : value;
|
||||
|
||||
Reference in New Issue
Block a user