We hope you'll join us for our 4/23 webinar on using data tables to apply reference ranges and AE codes in OC4. For more information and to register, visit https://register.gotowebinar.com/register/2882170018956684555

[Developers] OpenClinica and MS VISTA

Hi,

Anyone out there who has tried OpenClinica on MS VISTA??

Best reahrds

Krister
Sent: den 20 maj 2009 20:12
To: [email protected]
Subject: RE: [Developers] European date formats

Hi Tom,

Thanks for the excellent explanations. I made the changes and it seems to work now, even the calendar function works now with the correct format.

Best regards

Krister
Sent: den 20 maj 2009 18:54
To: [email protected]
Subject: RE: [Developers] European date formats

Hi Krister,

If you only changed the 'date_format' and 'date_time_format' properties, then that is not enough. You will have to change the 'date_format_string' and 'date_time_format_string' properties as well. Keep in mind that the *_string properties are governed by the Java formatting, which is why some letters are caps and some are not - this is important and should not be changed. A handy guide to the format can be found here:

http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html

If that does not help you, send me a copy of your format.properties file and I can take a look.

Best, Tom
Sent: Wed 20.05.2009 9:44
To: [email protected]
Subject: RE: [Developers] European date formats
Hi,

I changed the format file as you indicated and it worked fine. One peculiarity, surely my mistake, was that it displays date and time formats the way I defined it DD-MM-YYYY on all boilerplates, but when I enter data it shows up in the default GB format DD/MM/YYYY in the CRF. Did I forget something?

Refards

Krister
Sent: den 19 maj 2009 19:41
To: [email protected]
Subject: RE: [Developers] European date formats

Hi Krister,

You should be able to set the time format by editing the format.properties and format_*.properties files. You want to change the line

"date_time_format_string = dd/MM/yyyy hh:mm:ss a"

to

"date_time_format_string = dd/MM/yyyy HH:mm:ss a"

Basically, hh represents 0-11 hours and HH represents 0-23 hours.

Let me know if you have any questions with this.

Best, Tom
Sent: Tue 19.05.2009 10:25
To: [email protected]
Subject: RE: [Developers] European date formats
Hi again,

The 24 hour clock that we use in Europe does not seem to work. How do I set the time format?

Regards

Krister
Sent: den 18 maj 2009 22:47
To: [email protected]
Subject: RE: [Developers] European date formats

Thanks Tom, it worked fine. What languages are supported?

Regards

Krister
Sent: den 18 maj 2009 08:19
To: [email protected]
Subject: RE: [Developers] European date formats

Hi Krister,

If you are running OpenClinica in a browser with the locale set to a European location (such as en-GB) it should set automatically. If that is not an option, you can open and edit the format.properties and format_*.properties files located under the src/main/java/org/akaza/openclinica/i18n folder.

More information can be found on the wiki here: https://www.openclinica.org/dokuwiki/doku.php?id=developerwiki:i18n

Hope that helps, Tom
Sent: Sun 17.05.2009 15:53
To: [email protected]
Subject: [Developers] European date formats
Hi,
How do I set Open Clinica to show dates in the Euopean format day-mon.year? I run version 2.5.
Kind regards
Krister Kristianson

Comments

  • Tom HickersonTom Hickerson Posts: 449
    Hi Krister,

    I have done it on a home PC - do not know how it would perform in a production setting however. Do you have any specific questions about the install or deploy on Vista? The only real trick was getting Postgres to install correctly, but there are many solutions on the web.

    Best, Tom
  • kristiakkristiak ✭✭✭ Posts: 1,338 ✭✭✭
    Hi Tom,

    I guess it was because I feel a little "rusty" when it comes to
    setting up XP networking and WEB applications. I have only worked
    with VISTA the last couple of years and now I'm also testing
    WINDOWS 7.

    I might try it on a system that I have sitting around with VISTA
    Business.

    Best regards

    Krister

    _____
    [mailto:[email protected]] On Behalf Of Tom Hickerson
    Sent: den 22 maj 2009 13:47
    To: [email protected]
    Subject: RE: [Users] [Developers] OpenClinica and MS VISTA

    Hi Krister,

    I have done it on a home PC - do not know how it would perform in
    a production setting however. Do you have any specific questions
    about the install or deploy on Vista? The only real trick was
    getting Postgres to install correctly, but there are many
    solutions on the web.

    Best, Tom

    _____
    Kristianson eu
    Sent: Fri 22.05.2009 7:36
    To: [email protected]; [email protected]
    Subject: [Users] [Developers] OpenClinica and MS VISTA
    Hi,

    Anyone out there who has tried OpenClinica on MS VISTA??

    Best reahrds

    Krister

    _____
    [mailto:[email protected]] On Behalf Of Krister
    Kristianson eu
    Sent: den 20 maj 2009 20:12
    To: [email protected]
    Subject: RE: [Developers] European date formats

    Hi Tom,

    Thanks for the excellent explanations. I made the changes and it
    seems to work now, even the calendar function works now with the
    correct format.

    Best regards

    Krister

    _____
    [mailto:[email protected]] On Behalf Of Tom
    Hickerson
    Sent: den 20 maj 2009 18:54
    To: [email protected]
    Subject: RE: [Developers] European date formats

    Hi Krister,

    If you only changed the 'date_format' and 'date_time_format'
    properties, then that is not enough. You will have to change the
    'date_format_string' and 'date_time_format_string' properties as
    well. Keep in mind that the *_string properties are governed by
    the Java formatting, which is why some letters are caps and some
    are not - this is important and should not be changed. A handy
    guide to the format can be found here:



    http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat
    .html

    If that does not help you, send me a copy of your
    format.properties file and I can take a look.

    Best, Tom

    _____
    Kristianson
    Sent: Wed 20.05.2009 9:44
    To: [email protected]
    Subject: RE: [Developers] European date formats
    Hi,

    I changed the format file as you indicated and it worked fine. One
    peculiarity, surely my mistake, was that it displays date and time
    formats the way I defined it DD-MM-YYYY on all boilerplates, but
    when I enter data it shows up in the default GB format DD/MM/YYYY
    in the CRF. Did I forget something?

    Refards

    Krister

    _____
    [mailto:[email protected]] On Behalf Of Tom
    Hickerson
    Sent: den 19 maj 2009 19:41
    To: [email protected]
    Subject: RE: [Developers] European date formats

    Hi Krister,

    You should be able to set the time format by editing the
    format.properties and format_*.properties files. You want to
    change the line

    "date_time_format_string = dd/MM/yyyy hh:mm:ss a"

    to

    "date_time_format_string = dd/MM/yyyy HH:mm:ss a"

    Basically, hh represents 0-11 hours and HH represents 0-23 hours.

    Let me know if you have any questions with this.

    Best, Tom

    _____
    Kristianson eu
    Sent: Tue 19.05.2009 10:25
    To: [email protected]
    Subject: RE: [Developers] European date formats
    Hi again,

    The 24 hour clock that we use in Europe does not seem to work. How
    do I set the time format?

    Regards

    Krister

    _____
    [mailto:[email protected]] On Behalf Of Krister
    Kristianson
    Sent: den 18 maj 2009 22:47
    To: [email protected]
    Subject: RE: [Developers] European date formats

    Thanks Tom, it worked fine. What languages are supported?

    Regards

    Krister


    _____
    [mailto:[email protected]] On Behalf Of Tom
    Hickerson
    Sent: den 18 maj 2009 08:19
    To: [email protected]
    Subject: RE: [Developers] European date formats

    Hi Krister,

    If you are running OpenClinica in a browser with the locale set to
    a European location (such as en-GB) it should set automatically.
    If that is not an option, you can open and edit the
    format.properties and format_*.properties files located under the
    src/main/java/org/akaza/openclinica/i18n folder.

    More information can be found on the wiki here:
    https://www.openclinica.org/dokuwiki/doku.php?id=developerwiki:i18
    n

    Hope that helps, Tom

    _____
    Kristianson
    Sent: Sun 17.05.2009 15:53
    To: [email protected]
    Subject: [Developers] European date formats
    Hi,
    How do I set Open Clinica to show dates in the Euopean format
    day-mon.year? I run version 2.5.
    Kind regards
    Krister Kristianson
    Attachments:
    winmail.dat 19.2 KB
This discussion has been closed.