We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62ff67b commit c2ef1c7Copy full SHA for c2ef1c7
1 file changed
public/script.js
@@ -44,7 +44,7 @@ class Workout {
44
'November',
45
'December',
46
];
47
- this.workoutDate = `${this.type[0].toUpperCase()}${this.type.slice(1)} on ${months[this.date.getMonth()]} ${this.date.getDate()}, ${this.date.getFullYear()}`;
+ this.workoutDate = `${this.distance}km, ${this.duration}m - ${months[this.date.getMonth()]} ${this.date.getDate()}, ${this.date.getFullYear()}`;
48
}
49
addClick() {
50
this.clicks++;
0 commit comments