Browse Source
Merge pull request #388 from Budibase/backend-bugs
fix date field
gh-pages
Martin McKeaveney
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
6 deletions
-
packages/builder/src/constants/backend/index.js
|
|
|
@ -40,10 +40,10 @@ export const FIELDS = { |
|
|
|
DATETIME: { |
|
|
|
name: "Date/Time", |
|
|
|
icon: "ri-calendar-event-fill", |
|
|
|
type: "datetime", |
|
|
|
type: "string", |
|
|
|
constraints: { |
|
|
|
type: "date", |
|
|
|
datetime: {}, |
|
|
|
type: "string", |
|
|
|
length: {}, |
|
|
|
presence: false, |
|
|
|
}, |
|
|
|
}, |
|
|
|
@ -119,10 +119,10 @@ export const BLOCKS = { |
|
|
|
END_DATE: { |
|
|
|
name: "End Date", |
|
|
|
icon: "ri-calendar-event-fill", |
|
|
|
type: "datetime", |
|
|
|
type: "string", |
|
|
|
constraints: { |
|
|
|
type: "date", |
|
|
|
datetime: {}, |
|
|
|
type: "string", |
|
|
|
length: {}, |
|
|
|
presence: false, |
|
|
|
}, |
|
|
|
}, |
|
|
|
|