Date Time Picker Control

Demo to preview the plugin:

Introduction

The plugin allows you to add an item to the page to select the date and time.
Features: - Date - Date + Time - Date + Time + Time - Date + Time / Date + Time - Time zone + difference - Specify time intervals - Start date and time - Π‘alendar - week start day, language, background color selection, fonts and colors of the current day - Add your custom icons - Appearance settings - sizes, colors, rounding corners - Saving to database - Action when the date or time has changed
πŸ‘› Please support our efforts to keep this plugin freeβ€”your donations help us invest the time and resources needed to continue maintaining and improving it for everyone’s benefit: https://zeroqo.de/support.
πŸ”” The most risk-free way to try out this plugin is to subscribe to it. If you unsubscribe a few days later you will be charged on pro-rata basis, so for example if the plugin monthly price is $5 then you’d pay only 17Β’ per day ($5/30 days)!
Image without caption

How to setup

  1. Add Elements
      • Drag and drop the three elements of the plugin onto your test page:
        • DatepickerControl
        • TimepickerControl
        • TimezoneControl
      • Adjust the appearance settings of each element to explore customization options.
  1. Add Elements to Your Page
      • Drag and drop the DatepickerControl, TimepickerControl, and TimezoneControl elements onto your page in the Bubble editor.
  1. Customize the Elements
      • Adjust colors, borders, icons, and fonts in each element's property panel.
      • Configure:
        • Time Zone: Enter the time zone code in the Local Time Zone or Local Zone field (e.g., UTC, America/Sao_Paulo).
        • Display Format:
          • Use the Format field to define the format for dates and times (e.g., L for local dates, LT for local times).
  1. Set Up Workflows
      • Use the available events and actions:
        • Events:
          • "A DatepickerControl Update" or "A TimepickerControl Update" to capture user selections.
        • Actions:
          • "SetDate A DatepickerControl" to programmatically set a date.

Plugin Element Properties

DatepickerControl

Element properties.
Element properties.
Fields:
Title
Description
Type
Locale
Moment.js locale
Text
Format
Moment.js format
Text
Date
The default date to be displayed in the input field. Can be in various formats, depending on the selected locale.
Text (optional)
Dayactivebackground
Background color of the selected day in the datepicker.
Text
Dayactivecolor
Text color of the selected day in the datepicker.
Text
Dayactivefont
Font style for the selected day in the datepicker (e.g., "bold", "italic").
Text
Inputborderradius
The radius of the input field's border, allowing you to round the corners (e.g., "5px").
Number
Inputbordercolor
The color of the border surrounding the input field.
Text
Inputicon
Glyphicon- or url
Text
Inputiconbackground
Background color of the icon inside the input field.
Text
Inputbackground
Background color of the input field where the date will be shown.
Text
Inputcolor
Text color inside the input field.
Text
Background
Background color of the entire datepicker control.
Text
Color
The text color used throughout the datepicker control (e.g., for dates, headers).
Text

Element Actions

  1. setDate - This action allows you to set a specific date in the datepicker control programmatically.
    1. Workflow action.
      Workflow action.
      Title
      Description
      Type
      Date
      The date to be set in the datepicker. Should be in the format defined by the Format property or a valid date string.
      Text

      Exposed states

      Title
      Description
      Type
      Date
      The currently selected date in the Datepicker control. The value is formatted according to the format set in the Format property.
      Text

      Element Events

      Title
      Description
      update
      Triggered when the date is updated or selected in the Datepicker control. This event fires whenever the user selects a new date, and it can be used to capture the updated value for further processing.Triggered when the date is updated or selected in the Datepicker control. This event fires whenever the user selects a new date, and it can be used to capture the updated value for further processing.

TimezoneControl

Element properties
Element properties
Fields:
Title
Description
Type
Timezones
Name-Value pairs
Any Thing
Inputicon
Glyphicon- or url
Text
Inputiconbackground
Background color for the input icon.
Text
Inputbordercolor
Color for the border of the input field.
Text
Inputborderradius
Border radius for the input field, to make it rounded.
Number
Inputbackground
Background color of the input field.
Text
Inputcolor
Text color inside the input field.
Text
Background
Background color for the timezone control element.
Text
Color
Text color for the displayed timezone name.
Text

Exposed states

Title
Description
Type
Timezone
The currently selected timezone value.
Text

TimepickerControl

Element properties.
Element properties.
Fields:
Title
Description
Type
Locale
Moment.js locale
Text
Format
Moment.js format
Text
Time
The time to be displayed in the input field.
Text (optional)
Inputborderradius
The border radius for the input field.
Number
Inputbordercolor
The color of the border around the input field.
Text
Inputicon
Glyphicon- or url
Text
Inputiconbackground
The background color of the input field's icon.
Text
Inputbackground
The background color of the input field.
Text
Date
The date associated with the time.
Text (optional)
Timezone
The timezone to be used for the time input.
Text (optional)
Inputcolor
The color of the text in the input field.
Text
Background
The background color of the entire control.
Text
Color
The general text color of the control.
Text

Exposed states

Title
Description
Type
Time
The selected time as a string in the format specified by the Format field.
Text
Datetime
The selected date and time combined into a single Date object.
Date

Element Events

Title
Description
update
Triggered whenever the time is updated in the input field. Can be used to execute workflows based on user input changes.
Image without caption

Changelogs