Jump to content
Changes to the Jaspersoft community edition download ×
  • How to change start day of WEEK for Relative Dates


    okyrychenko
    • Features: Reports Product: JasperReports® Library

    Issue Description:

    I'm using the new DateRange concept to get run reports for a Week, quarter, week-1, etc but I need the beginning of the week to begin on a Sunday, not Monday.  Where do I configure that?

    Resolution:

    You can change  it in WEB-INF/classes/relativedate.properties

    # 1 - SUNDAY, 2 - MONDAY
    week.start.day=1
    

    Ref. Case #00034869


    User Feedback

    Recommended Comments

    In my case, I want Saturday and Sunday to be excluded when I use DAY+1 in filter expressions. For ex: If I run my report on Friday with date filter (DAY+1), how can I force Jasper to use Monday, instead of Saturday? Changing the config in WEB-INF/classes/relativedate.properties is not helping.

    week.start.day=2 is not helping.

    Link to comment
    Share on other sites



    Guest
    This is now closed for further comments

×
×
  • Create New...