Solved TD-23510: Date (Time) Picker displays wrong week numbers

Post found bugs and possible workarounds.
Uwe van der Horst
Site Admin
Site Admin
Germany
Posts: 47
Joined: 05 Mar 2017, 14:21
Location: Wetter (Ruhr), Germany

TD-23510: Date (Time) Picker displays wrong week numbers

Post by Uwe van der Horst » 04 May 2017, 13:23

The date picker and date time picker display wrong week numbers for the next years. E.g. the first week of 2018 begins with "2". google calendar and Outlook are displaying "1".
Most of the date pickers seem to follow the ISO 8601 definition: Weeks start on a Monday; the first week of the year contains the first Thursday of the year.
ScreenShot013.png
You do not have the required permissions to view the files attached to this post.
Best regards,
Uwe van der Horst
Advo-web GmbH

Jeff Luther
Site Admin
Site Admin
United States of America
Posts: 84
Joined: 04 Mar 2017, 18:34
Location: Palm Springs, California

Re: TD-23510: Date (Time) Picker displays wrong week numbers

Post by Jeff Luther » 04 May 2017, 14:48

Odd... I don't see that with U.S. English "day, month date, year" as my default. I tried with both v6.3 SP1 & v7.0 What do you see if you change your Windows' date/time format?
You do not have the required permissions to view the files attached to this post.
Jeff Luther @ PC Design
Palm Springs, California
TD info. & samples: http://www.jeffluther.net/TD/

Uwe van der Horst
Site Admin
Site Admin
Germany
Posts: 47
Joined: 05 Mar 2017, 14:21
Location: Wetter (Ruhr), Germany

Re: TD-23510: Date (Time) Picker displays wrong week numbers

Post by Uwe van der Horst » 04 May 2017, 15:20

Hi Jeff, If I change my date/time format I see what you see. But in your picture the week numbers are wrong for me as well. Week #1 is missing.

In Outlook I get the expected result with all date/time settings:
ScreenShot018.png
You do not have the required permissions to view the files attached to this post.
Best regards,
Uwe van der Horst
Advo-web GmbH

Jeff Luther
Site Admin
Site Admin
United States of America
Posts: 84
Joined: 04 Mar 2017, 18:34
Location: Palm Springs, California

Re: TD-23510: Date (Time) Picker displays wrong week numbers

Post by Jeff Luther » 04 May 2017, 15:31

But in your picture the week numbers are wrong for me as well.
Oh, I see that now. I kind of 'ignored' the numbers to the left. And you did write "week numbers" too. :oops:

In your Outlook image, what number would you think December 31st to be? 53? Since January 2018 is '1' for the first line, it looks like that's correct in your image, but wrong for me in the attached image here. I see the same '53' as the first week in Jan, 2018 with v6.3 and v7.0. Bug with "Show Week Number" attribute for the DATE & DATETIME Pickers, I guess.

I would expect December 31st to show as '53' and the first week in Jan. to show '1'.
You do not have the required permissions to view the files attached to this post.
Jeff Luther @ PC Design
Palm Springs, California
TD info. & samples: http://www.jeffluther.net/TD/

Uwe van der Horst
Site Admin
Site Admin
Germany
Posts: 47
Joined: 05 Mar 2017, 14:21
Location: Wetter (Ruhr), Germany

Re: TD-23510: Date (Time) Picker displays wrong week numbers

Post by Uwe van der Horst » 04 May 2017, 16:23

Jeff Luther wrote:
04 May 2017, 15:31
I would expect December 31st to show as '53' and the first week in Jan. to show '1'.
As there is only one row in Gupta Date Picker I would expect to show "1". In any case with German settings the problem is more serious because ALL week numbers are wrong and not only the first. My customers are lawyers and are heavily using the week numbers when making appointments.
Best regards,
Uwe van der Horst
Advo-web GmbH

Jeff Luther
Site Admin
Site Admin
United States of America
Posts: 84
Joined: 04 Mar 2017, 18:34
Location: Palm Springs, California

Re: TD-23510: Date (Time) Picker displays wrong week numbers

Post by Jeff Luther » 04 May 2017, 17:27

Agreed, it is a bug all right. I am not sure about
ALL week numbers are wrong and not only the first
as you wrote. In my last image, weeks 2-5 are correct. It is week '53' which should be a '1' of course.

Interesting that this shows up in v6.1 as well and not been reported to G/OT before. Maybe no one used the new "Show week number" feature before now? But we agree I guess: it's a bug. Anyone with GLS care to submit this one??
You do not have the required permissions to view the files attached to this post.
Jeff Luther @ PC Design
Palm Springs, California
TD info. & samples: http://www.jeffluther.net/TD/

Uwe van der Horst
Site Admin
Site Admin
Germany
Posts: 47
Joined: 05 Mar 2017, 14:21
Location: Wetter (Ruhr), Germany

Re: TD-23510: Date (Time) Picker displays wrong week numbers

Post by Uwe van der Horst » 05 May 2017, 07:19

Jeff Luther wrote:
04 May 2017, 17:27
Interesting that this shows up in v6.1 as well and not been reported to G/OT before.
At least the week numbers for 2016 and 2017 are correct. Surely this is the reason.
Jeff Luther wrote:
04 May 2017, 17:27
IBut we agree I guess: it's a bug. Anyone with GLS care to submit this one??
Already done and confirmed by Gupta, The bug number is TD-23510.
Best regards,
Uwe van der Horst
Advo-web GmbH

Uwe van der Horst
Site Admin
Site Admin
Germany
Posts: 47
Joined: 05 Mar 2017, 14:21
Location: Wetter (Ruhr), Germany

Re: TD-23510: Date (Time) Picker displays wrong week numbers

Post by Uwe van der Horst » 06 May 2017, 05:10

Gupta has announced a fix for the next UPD/SP of TD-7, scheduled for release at the beginning of June :)
Best regards,
Uwe van der Horst
Advo-web GmbH

Jeff Luther
Site Admin
Site Admin
United States of America
Posts: 84
Joined: 04 Mar 2017, 18:34
Location: Palm Springs, California

Re: TD-23510: Date (Time) Picker displays wrong week numbers

Post by Jeff Luther » 06 May 2017, 19:30

Thanks for letting us know, Uwe.
Jeff Luther @ PC Design
Palm Springs, California
TD info. & samples: http://www.jeffluther.net/TD/

Uwe van der Horst
Site Admin
Site Admin
Germany
Posts: 47
Joined: 05 Mar 2017, 14:21
Location: Wetter (Ruhr), Germany

Re: TD-23510: Date (Time) Picker displays wrong week numbers

Post by Uwe van der Horst » 12 Jun 2017, 13:01

This defect has been fixed in TD 7.0.2. as well (though it is not listed in the fix list).
Best regards,
Uwe van der Horst
Advo-web GmbH

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 262
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: TD-23510: Date (Time) Picker displays wrong week numbers

Post by Dave Rabelink » 19 Jul 2017, 07:13

This has been fixed in TD 6.3.9
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

piyachat.kae
Thailand
Posts: 1
Joined: 09 Aug 2017, 01:16
Location: Thailand

Re: TD-23510: Date (Time) Picker displays wrong week numbers

Post by piyachat.kae » 09 Aug 2017, 01:30

Hi, Everyone, Thank you for the sharing. I would also like to thank Mr. Dave to create such a valuable forum for us all.

Return to “Bug Reports”

Who is online

Users browsing this forum: Ccbot [Crawler] and 0 guests