Skip to content

Comments

➕ Add DateTime properties to DecodedMetar and DecodedTaf#50

Merged
afonsoft merged 1 commit intomainfrom
feature/update-actions
Feb 18, 2026
Merged

➕ Add DateTime properties to DecodedMetar and DecodedTaf#50
afonsoft merged 1 commit intomainfrom
feature/update-actions

Conversation

@afonsoft
Copy link
Owner

Feature:

  • Add new DateTime properties while keeping existing Day/Time for backward compatibility
  • Provide both individual components (Day, Time) and combined DateTime

Changes:

  • DecodedMetar: Added ObservationDateTime property
  • DecodedTaf: Added OriginDateTime property
  • METAR DatetimeChunkDecoder: Populates all three properties
  • TAF DatetimeChunkDecoder: Populates all three properties
  • Smart DateTime calculation with month/year rollover handling

Benefits:

  • Backward compatibility maintained
  • Modern DateTime support for new consumers
  • Flexible API supporting both old and new patterns

🎯 Enhanced date/time handling with backward compatibility!

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

  1. Does your submission pass tests?
  2. Have you lint your code locally prior to submission?

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully ran tests with your changes locally?

Feature:
- Add new DateTime properties while keeping existing Day/Time for backward compatibility
- Provide both individual components (Day, Time) and combined DateTime

Changes:
- DecodedMetar: Added ObservationDateTime property
- DecodedTaf: Added OriginDateTime property
- METAR DatetimeChunkDecoder: Populates all three properties
- TAF DatetimeChunkDecoder: Populates all three properties
- Smart DateTime calculation with month/year rollover handling

Benefits:
- Backward compatibility maintained
- Modern DateTime support for new consumers
- Flexible API supporting both old and new patterns

🎯 Enhanced date/time handling with backward compatibility!
@afonsoft afonsoft merged commit 877f43f into main Feb 18, 2026
13 of 17 checks passed
@afonsoft
Copy link
Owner Author

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
🔚 Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant