mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
fix: test
This commit is contained in:
parent
a4778de707
commit
708e183230
@ -8,8 +8,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
|
import utc from 'dayjs/plugin/utc';
|
||||||
import { BaseInterface } from './base-interface';
|
import { BaseInterface } from './base-interface';
|
||||||
|
dayjs.extend(utc);
|
||||||
export class TimeInterface extends BaseInterface {
|
export class TimeInterface extends BaseInterface {
|
||||||
toValue(value: any, ctx?: any) {
|
toValue(value: any, ctx?: any) {
|
||||||
if (this.validate(value)) {
|
if (this.validate(value)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user