Andrei Cristian Niculae wrote: > Hi all, > > I have a UI proposal for displaying time and date in the UI, XCF-2744 ( > http://track.sipfoundry.org/browse/XCF-2744 ), subtask of XCF-1560. > You can see it at > http://track.sipfoundry.org/secure/attachment/15677/DisplayTimeAndDateProposal00.png >
Like this one better (the version with clock inside of the banner) > and > http://track.sipfoundry.org/secure/attachment/15678/DisplayTimeAndDateProposal01.png > > > > The proposal refers mainly to the position where the time and date is > displayed. > In the first image, the time could be aligned with the HOME button if > this is preferred. I prefer it to remain right-aligned. > In the second image, the date is rendered with the same style as > quick-help. Of course, it could be fitted in only one line or the time > could be aligned to the > right instead of left > Another thing to be taken into consideration is how the time and date is > displayed ( Thursday 21 August 2008 12:26 PM or just 08/21/2008 12:26 PM ) Well - normally this is handled by setting user preferences on the client OS. But I am not sure if you have any access to that from client/javascript. I would opt for a short localized version for now. > Should we also display seconds? No. > The time will be rendered with javascript, so it will update in > real-time. And of course, it will be localized. > Each time a new page is rendered, the current server date will be passed > as a parameter to the javascript script, which will afterwards take over > updating the time. > Why not just get the time once every 30 seconds from the server? We'll be off by 15 seconds on average: that's seems to be good enough? BTW: Is it important to have server time on each and every page (and not just on the page that allows you to change it)? If this is to warn the admin about some discrepancies, is there any way we can notice it automatically (compare with client time, account for time zone difference, and display warnings if they do not match)? _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
