Skip to content

Commit

Permalink
Fixed date_edited in Beatmap.toJson()
Browse files Browse the repository at this point in the history
  • Loading branch information
enchart committed May 7, 2022
1 parent c7e41b0 commit 5fca7ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metadata/beatmap/Beatmap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class Beatmap implements Serializable {
toJson(): BeatmapConstructor {
const json: BeatmapConstructor = {};
if (this.dateEdited !== undefined) {
json.date_edited = BeatmapUtils.dateToString(this.dateEdited);
json.date_edited = this.dateString();
}
if (this.versionNumber !== undefined) {
json.version_number = this.versionNumber.toString();
Expand Down

0 comments on commit 5fca7ce

Please sign in to comment.