Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

The locale and timezone of the OpenSpecimen server impact how OpenSpecimen works. Especially in case of date formats and display.

Date format

OpenSpecimen displays the date format based on the server's locale setting. E.g., If the server is installed in the US time zone, the date format would be MM/DD/YYYY, whereas if the server is installed in China timezone, the date format would be YYYY/MM/DD. This is typically present in the machine, and you do not have to do any extra steps.

It is also possible to change the timezone for the server through the OpenSpecimen's Settings tab. For that, go to Home-> Settings-> Search for ‘Locale’ -> Enter a new value for the ‘Locale’ and update. For abbreviations for other locales, refer to - https://www.science.co.il/language/Locale-codes.php


Timezone Handling

This is important in multi-site studies where users are across multiple timezones.

The date and time for data entry are displayed based on the timezone of the user. E.g., a multi-site study is going in Delhi, across India , and Chicago, USA. When the user from Delhi India does data entry at 4.40 pm on 16 Nov 2018, the user from the Chicago USA site will see it as 5.10 am, 16 Nov 2018. 

...

Why and how to set a specific timezone to a user account?

The registration If you do not want the date/time adjusts adjust according to the timezone, sometimes it's confusing for a user while doing data entry and verifying the data. If you are going to do data entry from a particular timezone, you can set the specific timezone within a user account so that the entered date by a user in any pages don't change.user's timezone can be forcefully set by changing the user profile. 

Steps:

  1. Login to OpenSpecimen.
  2. Go to Users → select a the user for whom you wish to set the time zone → Edit.

...