We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e540fc2 commit 9b16d0eCopy full SHA for 9b16d0e
services/static-webserver/client/source/class/osparc/ui/basic/DateAndBy.js
@@ -80,6 +80,7 @@ qx.Class.define("osparc.ui.basic.DateAndBy", {
80
const label = this.getChildControl("date-text");
81
const today = new Date();
82
const yesterday = new Date();
83
+ yesterday.setDate(yesterday.getDate() - 1);
84
if (today.toDateString() === value.toDateString()) {
85
label.setValue(osparc.utils.Utils.formatDateAndTime(value)); // show date and time
86
} else if (yesterday.toDateString() === value.toDateString()) {
0 commit comments