Links

DateTime

Overview

Widgets in this category help you manage date and time values.

Date

Use this widget to edit the date value. A date picker is provided to select the date.
Readonly view:
Edit view:
Form view:
Configuration:
The date can be formatted with configuration.
{
"format": "YYYY-MM-DD", # (optional)
# default to "YYYY-MM-DD"
# check the format detail at https://momentjscom.readthedocs.io/en/latest/moment/04-displaying/01-format/
}
Import value:
Date in the format of YYYY-MM-DD. For example: 2020-02-02

Time

Use this widget to pick a time. Currently, Labii supports time in 30-min intervals.
Readonly view:
Edit view:
Form view:
Configuration:
The time can be formatted with configuration.
{
"format": "HH:mm:ss", # (optional)
# default to "HH:mm:ssj"
# check the format detail at https://momentjscom.readthedocs.io/en/latest/moment/04-displaying/01-format/
}
Import value:
Time in the format of HH:mm. For example: 14:20

DateTime

Use this widget to pick a date and time. This widget is a combination of the Date and Time widget.
Readonly view:
Edit view:
Form view:
Same as Edit view.
Default value:
{
"date": "2018-01-01",
"time": "10:23"
}
Configuration:
The DateTime can be formatted with configuration.
{
"format": "YYYY-MM-DD HH:mm:ss", # (optional)
# default to "YYYY-MM-DD HH:mm:ss"
# check the format detail at https://momentjscom.readthedocs.io/en/latest/moment/04-displaying/01-format/
}
Import value:
{"date": "", "time": ""}

Appointment

Use this widget to set an appointment and add the appointment calendar. Currently, Google calendar is supported.
Readonly view:
Color schema:
  • red: the date is past due
  • orange: today's date
Edit view:
  • Next week - Add one week to current date
  • Next month - Add one month to current date
Form view:
Same as the edit view
Configuration:
Default value:
{
"date_start": "",
"time_start": "",
"date_end": "",
"time_end": ""
}
Import value:
Save as the default value.

TimeStamp

This widget will generate an automatic time stamp in the ISO format. Click the reload button to refresh the timestamp.
Readonly view:
Edit view:
Not supported
Form view:
Not supported
Configuration:
{
"should_auto_update_when_empty": true, # (optional) - default to true
# If true, the widget will perform live calculation when the data is empty
# If false, the results will not be calculated on default
"format": "YYYY-MM-DD", # (optional)
# check the format detail at https://momentjscom.readthedocs.io/en/latest/moment/04-displaying/01-format/
}
Import value:
Not supported

Timezone

The widget displays the current date and time of a particular time zone. CRM can use it to reflect the customer's current time.
Readonly view:
Edit view:
Form view:
Same as the edit view.
Configuration:
{
"format": "YYYY-MM-DD HH:mm:ss", # (optional)
# default to "YYYY-MM-DD HH:mm:ss"
# check the format detail at https://momentjscom.readthedocs.io/en/latest/moment/04-displaying/01-format/
}
Import value:
time zone text, learn more at https://en.wikipedia.org/wiki/Lists_of_time_zones

TimeSeal

Utilize this widget to indicate the signature and timestamp for specific activities. For instance:
  • The PI can approve the purchase of reagents using this widget.
  • Users can use this widget to check out aliquots.
  • Lab managers can use it to designate samples as received.
This widget replaced the Sign and Checkout widget.
Readonly view:
Before signing
After signing
Edit view:
Not supported
Form view:
The form view enables you to select a user to seal.
Configuration:
Import value:
The value in the format "[First name] [Last name]". For example: John Goodway
Last modified 2d ago