SafeExamBrowser / seb-server

The Safe Exam Browser Server web application simplifies and centralizes the configuration of SEB clients for exams. It interacts with a learning management or exam system for setting up and conducting e-assessments with Safe Exam Browser. It also improves security by allowing to monitor connected SEB clients in real time during e-assessments.
Mozilla Public License 2.0
43 stars 38 forks source link

How to change the Date and Calendar format to other countries? #28

Closed fishfree closed 3 years ago

fishfree commented 3 years ago

Where to configure? and the supported locale list? please. image

anhefti commented 3 years ago

Hi, where to configure what exactly? Can you please give us a clear explanation of what you want to achieve!

The default timezone in SEB Server is UTC. If you want to define a timezone for a particular user, then you can do that within the user-account settings. SEB Server will then display the dates and times according to the time-zone of the user.

The readable date format can be changed within the application.properties file with sebserver.gui.date.displayformat=[locale]

The date input field and picker popup cannot be changed since this comes from used framework.

fishfree commented 3 years ago

@anhefti You said: The date input field and picker popup cannot be changed since this comes from used framework. I don't think so. Ususally popular picker popup calendar libraries considers internationalization. I also suggest just use the HTML 5 tag <input type="date"> instead, then browsers will render it appropriately.

anhefti commented 3 years ago

@fishfree Thanks for your suggestions. Since we use the Eclipse RAP framework for the SEB Server GUI, we cannot access HTML directly but all is generated by the framework and the framework is not very open.

For next SEB Server version we have accessibility improvements in the pipeline and we will try to also tackle the date-picker within this issue but with no guarantee that it will work as expected (we still depend on the framework)