MicrosoftEdge / MicrosoftEdge/WebView2Feedback

COM DATE and VARIANT type VT_DATE yields numeric type in WebView2

Open
#748 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug priority-low tracked
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Our application expose values as DATE and VARIANT (VT_DATE). Legacy JS-code for IE/WebBrowser assume these these are compatible with JS Date() and moment.js

Current numeric value is a straight cast from DATE to double. In our application JS Date would be a better fit.

We have not yet found any viable workaround for this issue.

Version
SDK: GA
Runtime: GA
Framework: Win32
OS: Win10

AB#31424334

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository file, test, or entry point is named. Start by reproducing the Win32 WebView2 behavior with COM DATE and VARIANT (VT_DATE) values, then trace how they are exposed to JavaScript; done means the values interoperate with JavaScript Date() and moment.js without remaining numeric-only behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.