Entering Dates & Times
How to type into the date & time, time and duration inputs across Egos.
Date & time input
The date & time input is to set a specific point in time. The date is on the left, followed by the time of day. The time comes in two versions, one if you prefer to enter time in the 12 hour format and one if you like the 24h format more. You have the version selected in your user preferences.
Simply go into the desired field and type in the desired value. You can then press Tab to jump to the next field or click it manually.
Typing t or n into the first date field or the hours field will fill in the current date and time.
Typing + or - followed by a number and pressing tab on a date input will fill it with the date specified relative to today. E.g. typing ‘-1’ will fill it with yesterday’s date.
In the 12 hour version, pressing Enter on the AM/PM input will cause it to flip, alternatively you can press either a or p to get the desired value.
If you wish to change how times are displayed, please change it in the User Preferences and then reload the page you were on.
Time input
The time input is to set a time of day. There are two versions of it, one if you prefer to enter time in the 12 hour format and one if you like the 24h format more. You have the version selected in your user preferences.
The hours are on the left, the minutes to its right. In the 12 hour version the am/pm input is on the far right.
Simply go into the desired field and type in the desired time. You can then press Tab to jump to the next field or click it manually.
In the 12 hour version, pressing Enter on the AM/PM input will cause it to flip, alternatively you can press either a or p to get the desired value.
If you wish to change how times are displayed, please change it in the User Preferences and then reload the page you were on.
Duration input
The duration input is to set a duration of time. Use it by typing in the desired duration using natural language.
All the following examples are valid:
- 1 hour
- 2 hours and 30 minutes
- 2h + 30m
- 1 week plus 5min and 4 days
- 2h;30m
If the duration input does not understand the input, the text will be red.
Please note that not all inputs will allow all duration units. E.g. The minimum gap between shifts cannot be measured in weeks.