[ 
http://issues.apache.org/jira/browse/OFBIZ-392?page=comments#action_12443903 ] 
            
Jacques Le Roux commented on OFBIZ-392:
---------------------------------------

OK, I understand now. Currently It's OK if you are in OFBiz english setting but 
not if you are some other settings (french for instance).
About setMinimalDaysInFirstWeek :
setMinimalDaysInFirstWeek

public void setMinimalDaysInFirstWeek(int value)

    Sets what the minimal days required in the first week of the year are; For 
example, if the first week is defined as one that contains the first day of the 
first month of a year, call the method with value 1. If it must be a full week, 
use value 7.

    Parameters:
        value - the given minimal days required in the first week of the year.

I applied your patch and it seems that it is not fixing this problem. I tried 
debugging and it's not called in this case. Have you tried your fix ?

Anyway I agree that we should better using calendar here than in house code. 
Just have enough time yet to go further...

> Wrong week numbers in the fixed asset calendar
> ----------------------------------------------
>
>                 Key: OFBIZ-392
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-392
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: accounting
>            Reporter: Bilgin Ibryam
>            Priority: Minor
>         Attachments: UtilDateTime-reviewed.patch, UtilDateTime.patch
>
>
> Week numbers in the fixed asset calendar are not correct. So i fixed the 
> problematic function and also added a possibility for choosing the week start 
> day (Sunday or Monday).
> Regards,
> Bilgin 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to