Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameDescriptionScreen (Click to view)
IDElement ID (By declaring as "date", a corresponding database table column "c_date" will be created)

LabelElement Label to be displayed to the end-user.
Allow Manual InputRather than using the calendar picker, a user may key in the date directly if checked.
Field Type

New date picker property to define the field type as:

  • Date Only
  • Date and Time
  • Date and Time Stored In UTC
  • Time Only


Advanced Options

...

  1. In System Settings:
    1. Tick the checkbox `Using Locale Date Format`.
    2. Leave the `System Date Format` field blank or empty.
    3. Tick the checkbox `Enable User Locale Selection`.
    4. Enter into the 'User Locale Options' field the locales allowed, for example "de,en_US".
    5. Save the System Settings.
  2. In your "Form Builder > Date Picker", leave the 'Display Format' property blank or empty.
  3. User logs in, sets his locale in 'My Profile'. Date Picker field will show the date format as per his/her locale.


Display Date Time Based On Coordinated Universal Time (UTC)

You can 'force' Joget to generate the date time from the data hash variable based on UTC, by adding the parameter "-Duser.timezone=UTC" in the JAVA_OPTS variable in the Joget startup script/batch file:

Code Block
set JAVA_OPTS=-Xmx2048M -Dwflow.home=./wflow/ -javaagent:./wflow/aspectjweaver-1.8.5.jar -Duser.timezone=UTC