Discussion

Date format

September 20, 2012 - 06:24 am
30 comment(s)

How can you change the date to read day,month,year?

 

30 Comments

September 20, 2012 - 08:52 am

Hi Bill,  we currently don't have a configuration option for the date format.  We have discussed a configuration view that would allow for project, user and general settings.  This is one we have discussed including in that view....

In reply to by OB

October 18, 2012 - 02:23 am

Hi

I have just downloaded projectlibre to try it out and I noticed the date format issue as well. As a temporary fix I updated the /usr/bin/projectlibre file, and changed the JAVA_OPTS=

from:

JAVA_OPTS="-Xms128m -Xmx768m"

to:

JAVA_OPTS="-Xms128m -Xmx768m -Duser.language=en -Duser.country=GB"

I now get the dates in the format DD/MM/YY.

Oh, I also have to delete the run.conf file in ~/.projectlibre so that it would be recreated with the new parameters.

Give it a go, it may be just what you wanted.

This was on Linux, just in case you hadn't guessed. Not sure where the file locations are in Windoze.

Ciao

 

October 18, 2012 - 12:38 pm

Great! thanks for the tip Madboyprice,

I found the spot to make the same change on a Mac:

1. Right-click on the 'ProjectLibre.app' file and choose Show Package Contents

2. Open the file 'Info.plist' in the Contents directory in a text editor

3. Look for: "<string>-Xms128m -Xmx768m</string>" near the end of the file and change to: "<string>-Xms128m -Xmx768m -Duser.language=en -Duser.country=GB</string>" and save.

In reply to by r.mackie

June 30, 2013 - 19:34 pm

Hi, I can only edit a copy of the 'info.plist' file (not the original) and then it won't let me save the copy in the contents folder.

I also note that with the June 2013 update, there is no reference in the text lines with the 128 etc ?? So I tried on the older Versions but as I described above, it won't let me edit the original info.plist file.

Can you or anyone help
Barry

In reply to by r.mackie

November 26, 2013 - 19:30 pm

Hi all,

I installed PL V1.5.7 tonight on my mac.

r.mackie's work around worked for me again except I am in Australia, so I changed the line near the end of hte Info.plist file to:

"<string>-Xms128m -Xmx768m</string>" near the end of the file and change to: "<string>-Xms128m -Xmx768m -Duser.language=en -Duser.country=AU</string>"

That worked and gave me DD/MM/YYYY for the date format AND $ for the currency.

I hope that helps some Aussie users.

 

 

January 28, 2014 - 10:24 am

Hi all,

well I thought I had this nailed, but just had to upate to PL 1.5.8 and found like others that the format of the info.plist file on mac no longer contains the Xms 128m line which could be modified to change the date format.

I tried to roll back to the previous version, but I have updated my os and java versions since then so I it looks like I am stuck with the new format.

Can anyone help here? This is the mod to convert the date from US format to DD/MM/YY or whatever you want based on country settings...

Thanks in advance I hope!

April 29, 2014 - 15:21 pm

Hi,

If you look near the bottom of the info.plist file you will find:

<key>JVMOptions</key>

<array></array>  Add a line between the array tags like this:  <key>JVMOptions</key><array>   <string>-Duser.region=NZ</string></array> 

Changing NZ for the code for your country.

In reply to by dwi

September 15, 2015 - 22:32 pm

This fix doesn't seem to work any more it worked in 1.5.. Anything placed between the <array> </array> tags stops 1.6.2 from working at all. 

This seems to have been outstanding forever, surely it's time this presumably simple fix was added? This misfeature makes the software efectively unusable nearly everywhere in the world.

October 19, 2012 - 00:12 am

C:Program Files (x86)ProjectLibreprojectlibre.bat,  I have changed command from

java -Xms128m -Xmx768m -jar projectlibre.jar

to

java -Xms128m -Xmx768m -Duser.language=cs -Duser.country=CZ -jar projectlibre.jar

and use this batch file to launch ProjectLibre. Now date and time format is same as on my Windows system: 17.10.12 17:00
 

In reply to by OB

October 18, 2012 - 19:30 pm

I would like to change the default US date format to the ISO xxxx/ format yyyy-mm-dd or the short version yy-mm-dd.

I appreciate all hints to get a solution

November 9, 2012 - 21:11 pm

Hi

i don't know which country you are from, but i know that sweden use the YYYY-MM-DD format.  So when i use this command line:

java -Xms128m -Xmx768m -Duser.language=sv -Duser.country=SE -jar projectlibre.jar

 

The date format is as you wish!

 

Best regards

Henrik - Denmark

 

May 29, 2013 - 04:25 am

Interesting.... you can change the ProjectLibre config file to alter language and dates but English I believe will not be in that format.    We are discussing a configuration screen in the future. This would be a good setting to include.  

 

 

July 11, 2013 - 16:11 pm

Here are 2 links to ISO 8601

http://www.iso.org/iso/home/standards/iso8601.htm

https://en.wikipedia.org/wiki/ISO_8601#Dates

 

 

In reply to by motomandk

August 30, 2013 - 05:23 am

Ultimately I want to have the following date format in a USA PC machine:  YYYY-MM-DD HH:MM:SS.

After reading all these suggestions, I have made the changes suggested to the .bat file, but no one clarified how do I make the .exe or the .jar file use the settings of this .bat file. 

Unfortunately, I am not a programmer, but can follow very good and detailed directions--like in some of the postings.  I even downloaded OpenProj, and I was only able to achieve these changes by including them in the .ini file.

Also, is there a guide for the proper use of the -Duser parameter, and how many other are ther (language, country, region, etc.).

 

In reply to by motomandk

August 30, 2013 - 05:27 am

Ultimately I want to have the following date format in a USA PC machine:  YYYY-MM-DD HH:MM:SS.

After reading all these suggestions, I have made the changes suggested to the .bat file, but no one clarified how do I make the .exe or the .jar file use the settings of this .bat file. 

Unfortunately, I am not a programmer, but can follow very good and detailed directions--like in some of the postings.  I even downloaded OpenProj, and I was only able to achieve these changes by including them in the .ini file.

Also, is there a guide for the proper use of the -Duser parameter, and how many other are ther (language, country, region, etc.).

In reply to by OB

January 25, 2014 - 04:29 am

unfortunately, only having the u.s date formate makes the whole project look unprofessional if used in the uk and europe.  Please fix. Thanks. Jez

July 9, 2013 - 09:27 am

Thank you for the feedback!   I agree, we are working on formatting for the next version which is a complete re-write.  I hope it is available in the initial version but we regardless, we are working on significant configuration options including your suggestion.   Btw, ProjectLibre has never been ProjectOpen.  We are the founders of OpenProj but that has not been updated since we got acquired 4 years ago.  

July 11, 2013 - 10:29 am

Feedback from my side for the helpful comments

I found that only the language setting changed the date and can start up PL by using following bat-file:

java -Xms128m -Xmx768m -Duser.language=ja -jar projectlibre.jar

The older version of PL stayed in English (my prefered working language except the date format) but with the new version 1.5.6 also the user interface changes according to the language setting.

My current workaround is a set of bat-files each with a language settings for the date format I need.

It is good news to read that the next version will have possibilities to change the date format and I am grateful to the people who do this.

Sorry for my wrong remembering with ProjectOpen.
 

August 5, 2013 - 08:20 am

good day,

would you be so kind to post your bat-file in total or is there a specific way how to launch PL with the bat-file?

I just cannot get it done (must be my fantastic computer programming skills ;-( )

 

August 1, 2013 - 23:57 pm

Hello,

How to adjust easly the bars format in the Grantt chart?

  • Fix commentar at beging and end of the bar (date, text, etc.) (up, down, left and right)
  • Change the style of bar
  • Give different colors to each group of bar
  • Give different form for the milestones

Sorry but i have no find the solution.

thanks!