Fixed date and time
This commit is contained in:
parent
d9ba9c84eb
commit
f72516ee4a
2 changed files with 10 additions and 7 deletions
|
|
@ -32,7 +32,7 @@ import {
|
|||
_type,
|
||||
_units,
|
||||
} from '../../stores/pdfinfo.ts';
|
||||
import { checkConnection, createPdfElectrical, createPdfOccupancy, getApi, getApiMulti, postApi, statusPopsApi, voidPopsApi, saveNewName, saveNewPassword, securePassword } from '../../utils/functions/index.ts';
|
||||
import { checkConnection, createPdfElectrical, createPdfOccupancy, getApi, getApiMulti, postApi, statusPopsApi, voidPopsApi, saveNewName, saveNewPassword, securePassword, getDateTime } from '../../utils/functions/index.ts';
|
||||
import './Assessor.sass';
|
||||
import { FaSolidUserGear } from 'solid-icons/fa'
|
||||
|
||||
|
|
@ -399,7 +399,7 @@ export default () => {
|
|||
}
|
||||
|
||||
const setNewStatus = async (division: string, status: string, tag: string, tagword: string, approved: number) => {
|
||||
const today = new Date()
|
||||
const today = await getDateTime()
|
||||
const formattedDate = dayjs(today).format('YYYY-MM-DD HH:mm:ss')
|
||||
const statusid = parseInt(applicationId().toString(), 10)
|
||||
|
||||
|
|
@ -449,7 +449,7 @@ export default () => {
|
|||
|
||||
const postTransaction = async (application: string) => {
|
||||
const id = await geteSignId(employeeId())
|
||||
const today = new Date()
|
||||
const today = await getDateTime()
|
||||
const formatedDate = dayjs(today).format('YYYY-MM-DD HH:mm:ss')
|
||||
|
||||
await postApi('post-esigntransaction', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue