Skip to content

Commit

Permalink
fix month format
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Dec 5, 2022
1 parent d7c7e28 commit fa3677f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DateTime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function isDateOrTime(o: any): o is DateOrTime {
}

export function dateTimeToExif(d: DateTime): string {
return d.toFormat("y:LL:dd HH:mm:ss.u")
return d.toFormat("y:MM:dd HH:mm:ss.u")
}

export function toExifString(d: DateOrTime): Maybe<string> {
Expand Down

0 comments on commit fa3677f

Please sign in to comment.