mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-09-09 16:10:47 +02:00
17 lines
422 B
JavaScript
17 lines
422 B
JavaScript
import { input } from "./input";
|
|
import { settings } from "./settings";
|
|
import { view } from "./view";
|
|
|
|
window.app = window.app || {};
|
|
window.app.fieldTypes = window.app.fieldTypes || {};
|
|
window.app.fieldTypes.date = {
|
|
icon: "ri-calendar-line",
|
|
label: "Datetime",
|
|
settings,
|
|
input,
|
|
view,
|
|
dummyData: (f, forSubmit = false) => {
|
|
return new Date().toISOString().replaceAll("T", " ");
|
|
},
|
|
};
|