Skip to content

Commit

Permalink
flopp#40 fix parsing of format DMS-H
Browse files Browse the repository at this point in the history
  • Loading branch information
CachingFoX committed Dec 31, 2024
1 parent ffddf27 commit 874fd3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/coordinates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export class Coordinates {
// DMS / D M S H
{
regexp: /^\s*(\d+)\s+(\d+)\s+(\d+\.?\d*)\s*([NEWS])\s*(\d+)\s+(\d+)\s+(\d+\.?\d*)\s*([NEWS])\s*$/,
fields: [4, 1, 2, 3, 6, 5, 6, 7],
fields: [4, 1, 2, 3, 8, 5, 6, 7],
},
// DMS / D M S
{
Expand Down

0 comments on commit 874fd3e

Please sign in to comment.