Skip to content

Commit

Permalink
fix: typo in date variable for last modified (#602)
Browse files Browse the repository at this point in the history
Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
  • Loading branch information
Revathyvenugopal162 and pyansys-ci-bot authored Dec 20, 2024
1 parent d10e722 commit 6015f5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/changelog.d/602.miscellaneous.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fix: typo in date variable for last modified
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
<script>
var options = { day: "numeric", month: "long", year: "numeric" };
var ast_lastModifiedDate = new Date(document.lastModified);
var ast_build_date = lastModifiedDate.toLocaleDateString("en-US", options);
var ast_build_date = ast_lastModifiedDate.toLocaleDateString("en-US", options);
document.getElementById("ast_build_date").innerHTML = ast_build_date;
</script>

0 comments on commit 6015f5e

Please sign in to comment.