diff --git a/src/BaGet.UI/src/DisplayPackage/Versions.tsx b/src/BaGet.UI/src/DisplayPackage/Versions.tsx index fd357bc8..1861b391 100644 --- a/src/BaGet.UI/src/DisplayPackage/Versions.tsx +++ b/src/BaGet.UI/src/DisplayPackage/Versions.tsx @@ -99,6 +99,6 @@ export class Versions extends React.Component { private showFewerVersions = () => this.setState({ showAll: false }); private dateToString(date: Date): string { - return `${date.getMonth()+1}/${date.getDate()}/${date.getFullYear()}`; + return date.toLocaleDateString(); } }