Skip to content

fix: maintain fractional part of DateTime when formatting#226

Merged
mcnulty-fp merged 3 commits into
mainfrom
fix/INTER-2131-date-time-fractional
May 20, 2026
Merged

fix: maintain fractional part of DateTime when formatting#226
mcnulty-fp merged 3 commits into
mainfrom
fix/INTER-2131-date-time-fractional

Conversation

@mcnulty-fp
Copy link
Copy Markdown
Contributor

  • Update ObjectSerializer.mustache to use the RFC3339_EXTENDED format to maintain the fractional part (i.e., the milliseconds) of the DateTime when formatting it as a string. This allows a DateTime to be created with milliseconds and have it be maintained when sending as a query parameter.

- Update `ObjectSerializer.mustache` to use the RFC3339_EXTENDED format
  to maintain the fractional part (i.e., the milliseconds) of the
  DateTime when formatting it as a string. This allows a DateTime to
  be created with milliseconds and have it be maintained when sending
  as a query parameter.
@github-actions
Copy link
Copy Markdown
Contributor

🟢 Coverage increased by 83.98%

Code Coverage Report

Coverage Report

St. Category Percentage Covered / Total
🟢 Statements 83.98% 3067 / 3652
🟢 Functions 82.18% 1213 / 1476
Files Coverage
St. File Methods Statements Total Coverage
🔴 src/Model/BotInfoCategory.php 0.00% 0.00% 0.00%
🔴 src/Model/BotInfoConfidence.php 0.00% 0.00% 0.00%
🔴 src/Model/BotInfoIdentity.php 0.00% 0.00% 0.00%
🔴 src/Model/BotResult.php 0.00% 0.00% 0.00%
🔴 src/Model/ErrorCode.php 0.00% 0.00% 0.00%
🔴 src/Model/IncrementalIdentificationStatus.php 0.00% 0.00% 0.00%
🔴 src/Model/ModelInterface.php 0.00% 0.00% 0.00%
🔴 src/Model/ProxyConfidence.php 0.00% 0.00% 0.00%
🔴 src/Model/RareDevicePercentileBucket.php 0.00% 0.00% 0.00%
🔴 src/Model/RuleActionType.php 0.00% 0.00% 0.00%
🔴 src/Model/SearchEventsBot.php 0.00% 0.00% 0.00%
🔴 src/Model/SearchEventsBotInfo.php 0.00% 0.00% 0.00%
🔴 src/Model/SearchEventsIncrementalIdentificationStatus.php 0.00% 0.00% 0.00%
🔴 src/Model/SearchEventsRareDevicePercentileBucket.php 0.00% 0.00% 0.00%
🔴 src/Model/SearchEventsSdkPlatform.php 0.00% 0.00% 0.00%
🔴 src/Model/SearchEventsVpnConfidence.php 0.00% 0.00% 0.00%
🔴 src/Model/TamperingConfidence.php 0.00% 0.00% 0.00%
🔴 src/Model/VpnConfidence.php 0.00% 0.00% 0.00%
🔴 src/Sealed/DecryptionAlgorithm.php 0.00% 0.00% 0.00%

@mcnulty-fp mcnulty-fp marked this pull request as ready for review May 20, 2026 19:47
erayaydin
erayaydin previously approved these changes May 20, 2026
Copy link
Copy Markdown
Member

@erayaydin erayaydin left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for fixing this issue ❤️

@github-actions
Copy link
Copy Markdown
Contributor

🚀 Following releases will be created using changesets from this PR:

@fingerprint/php-sdk@7.2.0-beta.2

Patch Changes

  • temporary changeset: fix date-time formatting in query parameters (bb21f46)

@mcnulty-fp mcnulty-fp merged commit 0a67185 into main May 20, 2026
16 checks passed
@mcnulty-fp mcnulty-fp deleted the fix/INTER-2131-date-time-fractional branch May 20, 2026 21:40
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.

2 participants