Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

Commit

Permalink
fix: Release month formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ffflorian committed Mar 26, 2020
1 parent b34b252 commit 281d0e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ElectronInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export class ElectronInfo {
return releases.map(release => {
const electronVersion = `${release.version}${release.prerelease ? ' (prerelease)' : ''}`;
const parsedDate = new Date(release.published_at);
const releaseDate = formatDate(parsedDate, 'yyyy-mm-dd');
const releaseDate = formatDate(parsedDate, 'yyyy-MM-dd');
const table = [
[coloredOrNot('Electron', chalkBold), electronVersion],
[coloredOrNot('Published on', chalkBold), releaseDate],
Expand Down

0 comments on commit 281d0e4

Please sign in to comment.