← Back to team overview

dhis2-devs team mailing list archive

Re: Fwd: [Dhis2-users] Event capture Future date is not allowed problem

 

Hi Hannan / Fatema,

The bug with future date is now fixed in trunk, 2.20 and 2.19.

---
Thank you,
Abyot.

On Mon, Sep 7, 2015 at 11:02 AM, Hannan Khan <hannank@xxxxxxxxx> wrote:

> Dear Abyot and Markus
>
> Thank you for your suggestion. We cleared the cache and check the date
> settings. The calendar setting ISO8601 and the date format is dd-MM-yyyy.
> And the problem persists.
>
> But when I change the date settings to yyyy-MM-dd then it is working OK.
> So this is a bug associated with date format. Please fix it.
>
> Regards
>
> Hannan Khan
> HISP Bangladesh
>
> On Mon, Sep 7, 2015 at 2:04 PM, Abyot Gizaw <abyota@xxxxxxxxx> wrote:
>
>> Hi,
>>
>> Yes checking the date format is the first thing to do. Also make sure to
>> have your browser cache properly cleared once you have made changes to your
>> calendar setting.
>>
>> Also to note is: though we have future date support for data elements, we
>> don't have support for execution date of events.
>>
>>
>> ---
>> Thank you,
>> Abyot.
>>
>> On Mon, Sep 7, 2015 at 9:26 AM, Markus Bekken <markus.bekken@xxxxxxxxx>
>> wrote:
>>
>>> Dear Hanan,
>>> It looks like there is a mixup between 7/9 and 9/7 somewhere - possibly
>>> a bug. What is the date format in your calendar settings?
>>> (Apps->Settings->Calendar Settings)
>>>
>>> Markus
>>>
>>> 7. sep. 2015 kl. 07.55 skrev Hannan Khan <hannank@xxxxxxxxx>:
>>>
>>> Dear Experts
>>>
>>> Thank you for your continuous support. We are also feeding you new
>>> problems from one largest implementation.
>>>
>>> We are upgraded to version 2.19 and having this problem. The tracker
>>> system identifies current date 7th September and dates after 9 July 2015 as
>>> future date having message ' Future date is not allowed'.
>>>
>>> I checked the log and there is no error log in tomcat so the error is
>>> from the front-end.I also check the server date and they are ok as user
>>> computer.
>>>
>>> Please help us to solve this issue. We are stuck with this technical
>>> issues. Please respond as soon as possible.
>>>
>>> Regards
>>>
>>> Hannan Khan
>>> HISP Bangladesh
>>>
>>>
>>> ---------- Forwarded message ----------
>>> From: Uddin Fatema <fatemacse@xxxxxxxxx>
>>> Date: Sun, Sep 6, 2015 at 3:00 PM
>>> Subject: [Dhis2-users] Event capture Future date is not allowed problem
>>> To: "dhis2-users@xxxxxxxxxxxxxxxxxxx" <dhis2-users@xxxxxxxxxxxxxxxxxxx>
>>>
>>>
>>> Dear All,
>>> I am running  dhis2 2.19 build version 19275 in my server. and my server
>>> date is today's date and time
>>>
>>> But when I am entering event date today's date it shows error "Future
>>> date is not allowed"
>>>
>>> <image.png>
>>>
>>> But if I give 1st June It shows right
>>>
>>> Anyone, Please help me how can i solve it.
>>>
>>> Thanks
>>> Regards,
>>> *Fatema Uddin*
>>>
>>> Technical Advisor (HIS)-Support to the Health Sector Program II
>>> Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH
>>> German House
>>> House 10/A-2, Road 90
>>> Gulshan 2, Dhaka 1212, Bangladesh
>>>
>>> T          +880 9666701000
>>> F          +880 28823099
>>> M         +880 19 6206 4721
>>> I           www.giz.de
>>> <https://owa.giz.de/owa/redir.aspx?C=mPQMujasE0-yL6Aa4ocPcnkcfUThJNEIi4h1DwsYjO3Ua20UR_COt6aTH1s4JIdR4p-jCoFsP6A.&URL=http%3a%2f%2fwww.giz.de%2f>
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>>
>>
>

Follow ups

References