edtro / EdTro.AzureDevOps.Extensions.querybasedboards

Query Based Boards enables a user to visualize the result of work item queries as a board and track the dependencies.
MIT License
23 stars 2 forks source link

The DateTime Field is displayed wrong when the date is a future date #53

Closed jamyzhang closed 2 years ago

jamyzhang commented 2 years ago

Hi,

Thank you for your great plugin. I want to report a bug that I use the configration to display a future datetime like below:

{ "fields":[ { "name":"Microsoft.VSTS.Scheduling.TargetDate", "title":"TargetDate" }, { "name":"Custom.RequestFrom", "title":"Requesting Team" } ] }

The value of the field "TargetDate" is the future date time and the it displayed wrong as "Just Now".

image

edtro commented 2 years ago

Dear @jamyzhang, Thank you very much for your feedback. Highly appreciated!

I have investigated this and indeed within the 'Ago' component of the Azure DevOps UI library, future dates are displayed as 'Just now'. See: https://developer.microsoft.com/en-us/azure-devops/components/time

I will fix this. Keep you posted.

Kr Edward

jamyzhang commented 2 years ago

May I know when do you release this fix. Our company is using your plugin and we want this a little urgently.

ErkanYardibi commented 2 years ago

Hello. We are also waiting for this fix :-)

Thanks!

edtro commented 2 years ago

Dear, As I have said... I am using the Ago component from the Azure DevOps UI... it is actually a bug within that component, but you have nowhere to report it (and I think it is abandoned). I am looking at a solution using momentjs, to replace this. But Microsoft is making my life as an extension developer very difficult currently, see my replies on their blogpost anouncing an updated interface of the queries/boards: https://devblogs.microsoft.com/devops/azure-boards-ux-modernization-public-preview/#comment-2913 They have introduced a couple of new bugs, but they are not replying to anything :-( Kr Edward

edtro commented 2 years ago

Dear @jamyzhang and @ErkanYardibi I just released a new version to the marketplace. Please try it out! It should have fixed te problem Kr Edward

ErkanYardibi commented 2 years ago

Dear Mr.Edward, Thank you very much! I tried and all problems were solved with your magic touch. Thank you so much!

edtro commented 2 years ago

Your welcome!