Skip to content

Commit 5fe333a

Browse files
authored
Merge pull request #120 from netcreateorg/dev
v1.5.1 Update
2 parents ade7062 + e86fcd2 commit 5fe333a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/view/netcreate/nc-ui.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ const UDATA = UNISYS.NewDataLink(MOD);
3535
function DateFormatted() {
3636
var today = new Date();
3737
var year = String(today.getFullYear());
38-
var date = today.getMonth() + 1 + '/' + today.getDate() + '/' + year.substring(2, 4);
38+
var date =
39+
today.getMonth() + 1 + '/' + today.getDate() + '/' + year.substring(2, 4);
3940
var time = today.toTimeString().substring(0, 5);
4041
var dateTime = time + ' on ' + date;
4142
return dateTime;
@@ -380,7 +381,7 @@ function m_RenderNumberInput(key, value, cb, helpText) {
380381
<input
381382
id={key}
382383
key={`${key}input`}
383-
value={value}
384+
value={value ? value : 0}
384385
type="number"
385386
onChange={event => m_UINumberInputUpdate(event, cb)}
386387
/>

0 commit comments

Comments
 (0)