<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to Date format beside milestone</title><link>https://sourceforge.net/p/projectlibre/discussion/buglist/thread/1db92921cd/</link><description>Recent posts to Date format beside milestone</description><atom:link href="https://sourceforge.net/p/projectlibre/discussion/buglist/thread/1db92921cd/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 21 Jun 2023 04:17:10 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/projectlibre/discussion/buglist/thread/1db92921cd/feed.rss" rel="self" type="application/rss+xml"/><item><title>Date format beside milestone</title><link>https://sourceforge.net/p/projectlibre/discussion/buglist/thread/1db92921cd/?limit=25#92b2</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Sorry, off topic question, could you tell me what is the current version of projectlibre cloud and the current version of projectlibre community?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tahoeob</dc:creator><pubDate>Wed, 21 Jun 2023 04:17:10 -0000</pubDate><guid>https://sourceforge.netd5eb2e83dab86fdce2171031741534e97308ebc8</guid></item><item><title>Date format beside milestone</title><link>https://sourceforge.net/p/projectlibre/discussion/buglist/thread/1db92921cd/?limit=25#d676</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I am sorry that I tried to post a couple of messages to this bug report anonymously  5 hours ago.&lt;br/&gt;
I didi not realize I was not logged into sourceforge.&lt;/p&gt;
&lt;p&gt;Well, after posting the inquiries, I tried to check usage of some libraries, and such or defining -Duser.variant=,  -Duser.lang=,  -Duser.country=, etc. in the ".cfg" file,  to no avail.&lt;br/&gt;
(I had to set the lang as "default" and country field as empty, which can be changed from the round globe menu in the upper-right corner of the program window pane to make the command line -Duser.* setting to be effective. )&lt;/p&gt;
&lt;p&gt;Well, there was no solution in sight then, but this is such a crucial user-experioence problem when I want to present the Gantt chart to non-techie types in Japan, who are not accustomed to date format (d M yyyy), I kept on checking on the subtle interaction of JAVA date string and other user locales, etc.&lt;/p&gt;
&lt;p&gt;Then I hit upon the following URL. which basically solved my issue.&lt;br/&gt;
&lt;a href="https://qiita.com/bunaImage/items/bac70618c5a27196c517" rel="nofollow"&gt;https://qiita.com/bunaImage/items/bac70618c5a27196c517&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I am creating my own explanation of what to do here since I experienced an issue of modifying the .jar file incorrectly under Windows and the original URL was not quite clear on this.&lt;/p&gt;
&lt;p&gt;Here is my fix.&lt;br/&gt;
I wanted to change the date format that is shown in the top of Gatt Chart from&lt;br/&gt;
21 6 2023 to   23 6 21  (Or 23年6月21, but that can wait.)&lt;/p&gt;
&lt;p&gt;I am using Windows 10 Pro 64-bit.&lt;br/&gt;
YMMV.&lt;/p&gt;
&lt;p&gt;Steps&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Open the installation destination folder (e.g. C:\Program Files\ProjectLibre\app)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Copy and paste projectlibre.jar to the desktop, etc., and rename it&lt;br/&gt;
to projectlibre.zip   (that is, ".jar" -&amp;gt; ".zip") &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Rename the original projectlibre.jar in the installation directory for&lt;br/&gt;
saving purposes. (e.g. rename it to projectlibre.jar.original)&lt;br/&gt;
We need to have the original just in case we screw up, and I did once.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;4 Obtain the full listing of files in the  copied projectlibre.zip by double clicking it.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Copy the following file in the archive listing to somewhere else and edit&lt;br/&gt;
it as explained below.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;com\projectlibre1\configuration\configuration.xml&lt;/p&gt;
&lt;p&gt;Note: I have to copy the file to outside the archive.&lt;br/&gt;
Unless the file is copied outside the zip archive, I could not edit it on my windows installation .&lt;br/&gt;
If I right-click on the "configuration.xml" file in the archive listing, there is no "Edit" menu item.&lt;br/&gt;
That is why I needed to copy it.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the file with a text editor and rewrite it as follows. (Change pattern2="d MMM yy" -&amp;gt; pattern2="yy M d")&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The original suggested changing it to "yyyy M d", but I only needed the last two digits of the year for now. You can modify the string to suit your needs.&lt;br/&gt;
From the look of the XML node, I think the culprit here is the calendar-related code, but I digress.&lt;/p&gt;
&lt;p&gt;Before: timescales in configuration.xml&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;    &amp;lt;timescale calendarField1="7" number1="1" pattern1="E"
        trunc1="1" upperCase1="true" normalMinWidth="15" tableMinWidth="51"
        calendarField2="3" number2="1" pattern2="d MMM yy" /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;After: timescales in configuration.xml&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;    &amp;lt;timescale calendarField1="7" number1="1" pattern1="E"
        trunc1="1" upperCase1="true" normalMinWidth="15" tableMinWidth="51"
        calendarField2="3" number2="1" pattern2="yy M d" /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;cf. Note that there are several &amp;lt;timescale ...=""&amp;gt; entries in configuration.xml&lt;br/&gt;
I only changed one of them.&lt;br/&gt;
It would be cool if we can modify it from within projectlibre program itself.&amp;lt;/timescale&amp;gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open projectlibre.zip in Explorer and overwrite the said file inside the archive by drag &amp;amp; drop&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;That is, first you have to show the file listing of projectlibre.zip by&lt;br/&gt;
double clicking on it WITHOUT expanding it completely as full set of subdirectories and files under them.&lt;/p&gt;
&lt;p&gt;Drag and drop the modifiedconfiguration.xml into the file listing of projectlibre.zip to replace it. &lt;br/&gt;
You will be asked "There is already a file with the same name in this location.&lt;br/&gt;
Select "Copy and Replace" when asked to do so.&lt;br/&gt;
Rename projectlibre.zip to projectlibre.jar and place it in the original location.&lt;/p&gt;
&lt;p&gt;In the above steps, you are warned that you need to have proper priviledge as administrator, but I omit them. Most of you know how to handle it.&lt;/p&gt;
&lt;p&gt;Note: I have to follow this "in-place archive file replacement".&lt;br/&gt;
Somehow, if I expand the full subdirectory structure, and edit the&lt;br/&gt;
file there, and re-create zip archive and rename it to ".jar". And then replace it with the original, projectlibre won't start. This won't work. The JVM can't find the symbols such as main and&lt;br/&gt;
projectlibre won't start.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Try to run ProjectLibre.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now I get the date as shown in the attachment.&lt;/p&gt;
&lt;p&gt;As I mention above, if we can configure this from within the&lt;br/&gt;
projectlibre program itself, that will be super.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tahoeob</dc:creator><pubDate>Wed, 07 Jun 2023 10:26:39 -0000</pubDate><guid>https://sourceforge.netb65301f55462b8a63daa2b37525802a340f3b1d0</guid></item><item><title>Date format beside milestone</title><link>https://sourceforge.net/p/projectlibre/discussion/buglist/thread/1db92921cd/?limit=25#547e</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I tested and it displays correctly in English and Spanish but did see the issue with Japanese annotation.  There must be something in the 3rd party library  and Java.  This is not something ProjectLibre controls but agree it is strange  in Japanese&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tahoeob</dc:creator><pubDate>Mon, 19 Apr 2021 20:11:37 -0000</pubDate><guid>https://sourceforge.net7c9a0a23aac6d1844825f8a717909598f3b471c9</guid></item><item><title>Date format beside milestone</title><link>https://sourceforge.net/p/projectlibre/discussion/buglist/thread/1db92921cd/?limit=25#eb2e/a5a7</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello. I am sorry for my bad explanation.&lt;br/&gt;
I only changed "Language" setting. Please see the two attached files.&lt;br/&gt;
I have tried to understand the source code, unfortunately, I cannot find exact code and a module that draw the milestone date.&lt;br/&gt;
Therefore, at this moment, I only can report what happens if something is changed in my environment.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tahoeob</dc:creator><pubDate>Mon, 19 Apr 2021 14:55:21 -0000</pubDate><guid>https://sourceforge.net1c07e409c9465084c020af88f4749bc4d0114627</guid></item><item><title>Date format beside milestone</title><link>https://sourceforge.net/p/projectlibre/discussion/buglist/thread/1db92921cd/?limit=25#eb2e</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you,  that is odd.... do you change the language and also the country?  It still seems odd.  We link to an open source database on that so it may be incorrect in the db.  We don't actually set it in ProjectLibre&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tahoeob</dc:creator><pubDate>Thu, 15 Apr 2021 21:41:39 -0000</pubDate><guid>https://sourceforge.net5cfdbd75e3949b81d2fcfdf4be91745cbf5ee37a</guid></item><item><title>Date format beside milestone</title><link>https://sourceforge.net/p/projectlibre/discussion/buglist/thread/1db92921cd/?limit=25#e4df</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I use ProjectLibre 1.9.3 on Japanese Windows 10. Therefore, language setting of the OS is Japanese.&lt;br/&gt;
When I create a milestone, date is shown next to a diamond symbol. But the date shows year and month with YY/MM format. I believe that this behaviour is not appropriate. For your information, Language setting of ProjectLibre is Japanese (ja).&lt;/p&gt;
&lt;p&gt;When I change Language setting of ProjectLibre to English (en), the date shows month and day with MM/DD format.&lt;br/&gt;
I guess that locale seems not to be referred properly.&lt;/p&gt;
&lt;p&gt;I hope that it would be corrected in future release.&lt;br/&gt;
Best regards.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tahoeob</dc:creator><pubDate>Mon, 12 Apr 2021 08:46:55 -0000</pubDate><guid>https://sourceforge.net13629e7b154d2fc5a68e9d57cf6cf14c8f6c2d3b</guid></item></channel></rss>