You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Pierre Smits (JIRA)" <ji...@apache.org> on 2019/05/23 07:03:00 UTC

[jira] [Comment Edited] (OFBIZ-5044) The loadDateDimension service is loading incorrect weekOfYear field.

    [ https://issues.apache.org/jira/browse/OFBIZ-5044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16846466#comment-16846466 ] 

Pierre Smits edited comment on OFBIZ-5044 at 5/23/19 7:02 AM:
--------------------------------------------------------------

This is related:
* https://en.wikipedia.org/wiki/ISO_week_date
* http://www.staff.science.uu.nl/~gent0113/calendar/isocalendar.htm
* http://www.proesite.com/timex/wkcalc.htm


was (Author: pfm.smits):
This is related: https://en.wikipedia.org/wiki/ISO_week_date

> The loadDateDimension service is loading incorrect weekOfYear field.
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-5044
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5044
>             Project: OFBiz
>          Issue Type: Bug
>          Components: bi
>    Affects Versions: Trunk
>         Environment: Ubuntu 10.04
>            Reporter: Chatree Srichart
>            Assignee: Pierre Smits
>            Priority: Major
>              Labels: calendar, week_of_year
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Hi all,
> When I ran the loadDateDimension service with these dates:
> - fromDate = "25 Dec 2010"
> - thruDate = "05 Jan 2011"
> I got:
> - "25 Dec 2010" has the week of year as 52.
> - "26 Dec 2010" has the week of year as 1.
> Actually "26 Dec 2010" should has the week of year as 53.
> I think the problem is "26 Dec 2010" is in the same week of "1 Jan 2011".
> Regards,
> Chatree Srichart



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)