Skip to content

Commit 42be6f2

Browse files
Dorin-Davidpasor1
andauthored
Update 1-js/05-data-types/11-date/8-format-date-relative/solution.md
Co-authored-by: Simone Pasini <66781510+pasor1@users.noreply.github.com>
1 parent 0cc9a50 commit 42be6f2

File tree

1 file changed

+1
-1
lines changed
  • 1-js/05-data-types/11-date/8-format-date-relative

1 file changed

+1
-1
lines changed

1-js/05-data-types/11-date/8-format-date-relative/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function formatDate(date) {
88
return 'right now';
99
}
1010

11-
let sec = Math.floor(diff / 1000); // converti diff a seconds
11+
let sec = Math.floor(diff / 1000); // converti diff in secondi
1212

1313
if (sec < 60) {
1414
return sec + ' sec. ago';

0 commit comments

Comments
 (0)