ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre Smits (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-5044) The loadDateDimension service is loading incorrect weekOfYear field.
Date Thu, 23 May 2019 06:33:00 GMT

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

Pierre Smits commented on OFBIZ-5044:
-------------------------------------

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
>            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)

Mime
View raw message