Skip to content

Commit 8ab785c

Browse files
Update DurationValue.cs
1 parent 6f258fa commit 8ab785c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Code/ValueSystem/DurationValue.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ private class Prop<T>(Func<DurationValue, T> handler, string? description)
6464
["hours"] = new Prop<NumberValue>(d => d.Value.Hours, "Hours component of the duration"),
6565
["minutes"] = new Prop<NumberValue>(d => d.Value.Minutes, "Minutes component of the duration"),
6666
["seconds"] = new Prop<NumberValue>(d => d.Value.Seconds, "Seconds component of the duration"),
67-
["ms"] = new Prop<NumberValue>(d => d.Value.Milliseconds, "Milliseconds component of the duration"),
67+
["milliseconds"] = new Prop<NumberValue>(d => d.Value.Milliseconds, "Milliseconds component of the duration"),
6868
["totalHours"] = new Prop<NumberValue>(d => (decimal)d.Value.TotalHours, "Total hours in the duration"),
6969
["totalMinutes"] = new Prop<NumberValue>(d => (decimal)d.Value.TotalMinutes, "Total minutes in the duration"),
7070
["totalSeconds"] = new Prop<NumberValue>(d => (decimal)d.Value.TotalSeconds, "Total seconds in the duration"),
71-
["totalMs"] = new Prop<NumberValue>(d => (decimal)d.Value.TotalMilliseconds, "Total milliseconds in the duration")
71+
["totalMilliseconds"] = new Prop<NumberValue>(d => (decimal)d.Value.TotalMilliseconds, "Total milliseconds in the duration")
7272
};
7373
}

0 commit comments

Comments
 (0)