rtl Posted May 4 Report Share Posted May 4 Been trying to configure a service flag from this on https://doc.vodia.com/docs/serviceflags but it won't follow the time. If I use dates only then that works. It also doesn't seem to accept dates on the format DD/MM/YYYY as documented. Using v67.0.5 Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted May 4 Report Share Posted May 4 Well 67.0.5 is the last version where the frontend did not use the locale of the browser to present dates in the local format. We have updated the documentation link with more up-to-date information. Quote Link to comment Share on other sites More sharing options...
rtl Posted May 5 Author Report Share Posted May 5 That doesn't explain why the date/time format doesn't work as documented as I've highlighted Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted May 5 Report Share Posted May 5 The main problem was that in the UK, dates are DD/MM while in the US it is MM/DD. That is why we had to redesign it, and the only way is to use the browser locale, which is consistent with the experience of the user in other pages. In most of the cases there is no need to specify the time, and the holiday hours are the right solution. There are only very few cases where a holiday starts in the middle of the day, I am not aware about holidays in the UK that would fall into that category? Quote Link to comment Share on other sites More sharing options...
rtl Posted May 6 Author Report Share Posted May 6 21 hours ago, Vodia PBX said: There are only very few cases where a holiday starts in the middle of the day, I am not aware about holidays in the UK that would fall into that category? There are no statuatory holidays that fall into that category. However many businesses take time out for training, the day before a statuatory holiday where they may end at midday and so on. It's actually quite common hence why I used it when I saw it documented. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted May 6 Report Share Posted May 6 Hmm for those days it would make sense to use the holiday schedule. Workaround is to manually turn the service flag off for the day until the post-67 version is running. Quote Link to comment Share on other sites More sharing options...
rtl Posted May 9 Author Report Share Posted May 9 Which is what I did and followed the documentation which appears to be wrong which is the whole point of the question. It's clearly documented but doesn't work Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted May 9 Report Share Posted May 9 So we did spend some time here testing this in the latest version. A pattern like 5/9/22;2P (US locale) does work like expected (holiday starting at 2:00 PM and ending on the same day). It takes the schedule from the holiday hours field, which is usually empty. What is important that this field is read like the other day fields, meaning that if you invert the flag, that means the flag is active during that time. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.