Skip to content

Conversation

@charles-zablit
Copy link

@charles-zablit charles-zablit commented Dec 5, 2025

This patch adds a dataformatter for FoundationEssentials.Date and NSDate on Windows.

Before

1> Date.now
$R1: FoundationEssentials.Date = {
  _time = 786641176.638381
}
2> NSDate()
$R2: Foundation.NSDate = {
  Foundation.NSObject = {}
  _base = {
    info = 10880
    pad = 0
  }
  _timeIntervalSinceReferenceDate = 786641176.638381
}

After

1> Date.now
$R1: Foundation.Date = 2025-12-05 15:26:16 UTC
2> NSDate()
$R2: NSDate = 2025-12-05 15:26:16 UTC

rdar://155901731

@charles-zablit charles-zablit requested a review from a team as a code owner December 5, 2025 15:27
@charles-zablit charles-zablit self-assigned this Dec 5, 2025
@charles-zablit
Copy link
Author

@swift-ci please test

@charles-zablit charles-zablit force-pushed the charles-zablit/lldb/windows/add-date-dataformatter branch from b5c7671 to 3a44d26 Compare December 5, 2025 16:38
@charles-zablit charles-zablit marked this pull request as draft December 5, 2025 16:38
@charles-zablit
Copy link
Author

@swift-ci please test

1 similar comment
@charles-zablit
Copy link
Author

@swift-ci please test

@charles-zablit
Copy link
Author

@swift-ci please test linux

@charles-zablit
Copy link
Author

@swift-ci please test windows

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant