Recent Topics

1 Mar 15, 2006 09:58    

:)

2 Mar 19, 2006 22:31

Not yet, but I've added it as a request on the todo list.

We should use "minutes" IMHO instead of "hours" simply internally and allow to give values such as "0.5" in the user interface.

4 Jun 24, 2006 12:42

0.9.2 was only a spam-trap improvement version.

b2evolution.net is since 2 days running on 1.8.
That means it's nearly production-ready.

5 Jun 24, 2006 14:22

But this feature is currently not in 1.8. François never reacted on my question(s) about this.

6 Jul 01, 2006 04:56

Feature still isn't in the latest cvs build, but yeh, time offset should be like;
1:30, so 1 hour and 43 minutes
Not
1.5, as 1 and a half hours.

As some time zones have a 45 minute difference.

7 Jul 01, 2006 07:34

So that'd be 1.75 hours right? Not that saying "1:45" is bad or anything. Just that any format that can handle quarter hours would solve the problem. No one needs a 43 minute offset!

8 Jul 01, 2006 10:29

Maybe the server time is off by a few minutes ;)

Anyway it would be easier to implement 1:45, than 1.75, as its time difference, just add the value to the server time.
When using 1.75 it would need to calculate 75% of 60, and then add it, instead of just adding 45...

Same going the other way. Detecting the time difference.

9 Jul 01, 2006 13:03

Actually, 1.75 is easier than 1:45, because it's just 1.75*3600 and not 1*3600+45/60*3600.. :p

10 Jul 01, 2006 13:08

Ohhh, thought you would be storing/working with it in hours, minutes and seconds, not just seconds....

Edit: But what if the server clock is off by a few minutes....

11 Jul 01, 2006 13:17

We use seconds internally, and currently store hours (in Settings).

At least, we should store it as minutes, but maybe right away as seconds. It's just one setting. Also it saves us one multiplication.. ;)

I'm not sure about the interface. This shouldn't be seconds, but maybe just hours as a value. The input field should also allow 1:45, 0:05, 1.5 and -2.

12 Jul 01, 2006 13:34

Sounds good.

Give me a shout when the feature is added and i'll update my time difference calculator to apply the change.

14 Sep 22, 2006 19:32

It will be in 1.9 and is already ready, including the changed Javascript time difference calculation which balupton initially provided.


Form is loading...