Comments (4)
Just came back to this issue and I have to tell ... I have no clue what do to with this 😅
from fusion.
Maybe allow the user to configure an alternative fallback date format? Or try the CultureInfos for the cultures in
HKCU\Control Panel\International\User Profile\Languages
per process, until one of them fits?
Or assume that all dates are for the same day, or even just for today, if you can't parse them. This is likely to cover 99% of the usages. I doubt that a lot of people let Fusion++ collect logs overnight.
I realize that this is a pain, but aborting is not a good solution...
Maybe this sheds some light on the issue:
https://stackoverflow.com/questions/62909619/powershell-uiculture-vs-windows-setting
Or at least it documents that PowerShell's behavior is, er, noteworthy...
It's strange that PowerShell seems to be able to influence the CultureInfo used for formatting the log entries. The script was called in a Visual Studio build step and I have no idea what it does. However, since you're already displaying the offending timestamp, the user could easily figure out the proper fallback format, which may not be the same for every run! Configuring one (or even a series of) date format(s) could allow to successfully treat those odd scenarios.
from fusion.
You can't surely tell if the cultures under HKCU\Control Panel\International\User Profile\Languages
would have done it in your case, do you?
from fusion.
Yes, they would have, but this may be a coincidence.
PowerShell's behavior is so confusing, and apparently even version-dependent.
from fusion.
Related Issues (20)
- [Help] Is there a way to figure out who is trying to load a given assembly at runtime? HOT 1
- The temp folder lack of permission HOT 4
- Maybe make it a .NET global tool? HOT 1
- UI bug - Can't import fusion logs without creating a Fusion++ session HOT 3
- UX request - Add open session to title HOT 5
- Support WhereRefBind log entries HOT 10
- Can not capture the IIS application pool bind failures HOT 2
- Publish self-contain release build. HOT 1
- No issue - just a thanks HOT 1
- For people who want to build with DevExpress, you have a 30 day trial. Plus I think it works with a warning
- Empty log folder HOT 1
- Can't parse the fusionlog due to the date format HOT 2
- Tool requires .NET 5.0, which is out of support (EOL-ed) HOT 1
- Unable to Run Fusion++ on Windows Server 2016 HOT 2
- Publish the tool on winget HOT 1
- Distribute via winget HOT 1
- ARM64 version HOT 4
- Linux Version HOT 2
- Publish Trimming and .NET 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fusion.