Skip to content

Conversation

@JMCulhane
Copy link
Collaborator

@JMCulhane JMCulhane commented Nov 4, 2025

Pull Request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build-related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Currently, the CLI has trouble recognizing 24 hour/military time format. Included in this PR is a new series_Semantic case along with a parsing function to handle flexible time formats.

What is the new behavior?

The time type will be recognized and parsed. This is a subissue (Issue 265) of Issue 249 and is the first step in updating the CLI so that it can handle separate columns.

Does this introduce a breaking change?

  • Yes
  • No

@github-actions
Copy link

github-actions bot commented Nov 4, 2025

PR Preview Action v1.6.3
Preview removed because the pull request was closed.
2025-11-21 20:47 UTC

@JMCulhane JMCulhane changed the title Mike culhane/update time converter Bug: update time converter Nov 4, 2025
Copy link
Collaborator

@KristijanArmeni KristijanArmeni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wonderful, thank you for adding @JMCulhane! A minor comment in the codebase itself. And just two thoughts:

  1. Adding unit tests. Could we add a short unit test in preprocessing/test_series_semantic.py that will test this helper function? (see the example for timezone parsing helper.)
  2. If this addresses only a subpart of #249, perhaps we can create sub-issue for just the military time handling which this PR addresses?

It's great to split it in small chunks otherwise. I think if we add tests, I'd merge this and can ship with v0.10.0. And we can address follow-ups separately.

@JMCulhane JMCulhane changed the title Bug: update time converter Bug: Include military time for semantic infer Nov 21, 2025
Copy link
Collaborator

@KristijanArmeni KristijanArmeni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @JMCulhane, looks good.

@KristijanArmeni KristijanArmeni added this to the v0.10.0 milestone Nov 21, 2025
@KristijanArmeni KristijanArmeni merged commit 7c76fc5 into develop Nov 21, 2025
6 checks passed
@KristijanArmeni KristijanArmeni deleted the MikeCulhane/update-time-converter branch November 21, 2025 20:46
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.

3 participants