Hour difference (solved)

Post Reply
Griffin
Posts: 40
Joined: 18 Mar 2018, 14:56
Name: D
Location: Netherlands

Hour difference (solved)

Post by Griffin »

Hi Sergey,

I think I found a bug with the Hour Difference field.

1 Steps to reproduce
Enter Start time 2019-07-06 11:30
Enter End time 2019-07-06 12:00

1 Expected behaviour
The Hour Difference field should display 0,50

1 Actual behaviour
The Hour Difference field displays 1,00 » this is not correct

Please note the difference when you change the time:
2 Steps to reproduce
Enter Start time 2019-07-06 12:00
Enter End time 2019-07-06 12:30

2 Expected behaviour
The Hour Difference field should display 0,50

2 Actual behaviour
The Hour Difference field displays 0,50 » this is correct


So, when calculating from a starting time that starts at hh:30 and ends at hh:00, the Hour Difference field shows a wrong result.
A calculation from a starting time hh:00 until hh:30 gives the correct result.

Please can you have a look at this?
Kind regards
Attachments
picture.PNG
0.PNG
0.PNG
Last edited by Griffin on 10 Jan 2019, 22:32, edited 1 time in total.
User avatar
support
Site Admin
Posts: 6222
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Hour difference

Post by support »

I just did test and can't reproduce it. See attached.
Can you show me field settings?
Attachments
screenshot-localhost-2019.01.07-15-06-16.png
screenshot-localhost-2019.01.07-15-06-16.png (5.2 KiB) Viewed 1051 times
Griffin
Posts: 40
Joined: 18 Mar 2018, 14:56
Name: D
Location: Netherlands

Re: Hour difference

Post by Griffin »

Please see attachment
Attachments
01.PNG
Griffin
Posts: 40
Joined: 18 Mar 2018, 14:56
Name: D
Location: Netherlands

Re: Hour difference

Post by Griffin »

And here the start/end fields
Attachments
02.PNG
Griffin
Posts: 40
Joined: 18 Mar 2018, 14:56
Name: D
Location: Netherlands

Re: Hour difference

Post by Griffin »

Overview
Attachments
overview.PNG
User avatar
support
Site Admin
Posts: 6222
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Hour difference

Post by support »

But it looks like you are using 2.3 version?
Griffin
Posts: 40
Joined: 18 Mar 2018, 14:56
Name: D
Location: Netherlands

Re: Hour difference

Post by Griffin »

Yes that's right:
Rukovoditel 2.3.1
Extension 2.3.1

Isn't the hour difference part of this extension?
Softaculous installed me for this as the latest version
User avatar
support
Site Admin
Posts: 6222
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Hour difference

Post by support »

I think this issue should be fixed in 2.4
2.4 is not released yet. there is only beta version.
https://blog.rukovoditel.net/rukovoditel-2-4-beta/
Griffin
Posts: 40
Joined: 18 Mar 2018, 14:56
Name: D
Location: Netherlands

Re: Hour difference

Post by Griffin »

You are right! It is fixed now.
Thanks :D 8-)
Post Reply