ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
66469
|
Tue Jul 28 11:04:01 2009 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | v2.7.42111 | Re: display GMT time instead of local time in Entry time/ Last edit field |
Dan Duong wrote: |
Hi all,
I have set my PC in Time Zone GMT+10:00 but I get GMT time in Entry time/Last edit field.
I have installed in another PC. Which has Time Zone GMT+10:00 but I still get GMT time in Entry time/Last edit field.
Please help. Thank you very much.
|
That's strange. I use the C function localtime() to obtain the local time from Windows. The documentation says that this function checks the Windows control panel and returns the proper local time. So far, nobody complained so I guess only you have this problem (anybody else to correct me???). The only hint I found is to set the environment variable TZ. So open a DOS box and enter
set TZ=AST+10
then start elogd.exe interactively in that dos box and see if you get something else. |
66468
|
Tue Jul 28 10:42:40 2009 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Linux | 2.7.6 | Re: attachment not displayed if entry contains link to attachment. |
Devin Bougie wrote: |
I'm not sure if this is the expected behavior, but it appears as though an attachment is not displayed in the list of attachments if you manually add a link to the attachment into the body of the entry. I would greatly appreciate any advice on how to fix or change this behavior.
I will try to demonstrate with the two attachments on this entry. There are two attachments in this entry, but only one appears in the standard view of the entry.
Picture_1.png.png
Many thanks,
Devin
|
Well, you can have "inline" pictures like that:
In this case it is clumsy if this image gets displayed twice, once in the text and once as the attachment. So I look at the entry and if I find the image inlined, I suppress the display at the end. Now the "check if the image is shown inline" is a bit stupid, it just looks for the link. So I never thought that someone would just put a link in the text manually. I will have a look and see if I can change that. |
66467
|
Tue Jul 28 02:50:42 2009 |
| Dan Duong | Dan.Duong@team.telstra.com | Question | Windows | v2.7.42111 | display GMT time instead of local time in Entry time/ Last edit field |
Hi all,
I have set my PC in Time Zone GMT+10:00 but I get GMT time in Entry time/Last edit field.
I have installed in another PC. Which has Time Zone GMT+10:00 but I still get GMT time in Entry time/Last edit field.
Please help. Thank you very much.
|
66466
|
Mon Jul 27 18:02:14 2009 |
| Devin Bougie | dab66@lepp.cornell.edu | Bug report | Linux | 2.7.6 | attachment not displayed if entry contains link to attachment. |
I'm not sure if this is the expected behavior, but it appears as though an attachment is not displayed in the list of attachments if you manually add a link to the attachment into the body of the entry. I would greatly appreciate any advice on how to fix or change this behavior.
I will try to demonstrate with the two attachments on this entry. There are two attachments in this entry, but only one appears in the standard view of the entry.
Picture_1.png.png
Many thanks,
Devin |
Attachment 1: Picture_1.png
|
|
Attachment 2: Picture_2.png
|
|
66465
|
Mon Jul 27 10:49:19 2009 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Linux | 2.7.6 | Re: Wrong error message if invalid attribute is used |
T. Ribbrock wrote: |
I just ran into this little bug: I had defined a new logbook in my config file and suddenly got the message Attribute "Date" not allowed. While I did have several attributes starting with the word "Date" (e.g. "Date In Service", "Date Retired") I had no attribute "Date" in there. After some pondering and wildly commenting out lines, it finally dawned on me: I had used an attribute "ID" - which is also not allowed. However, it would be very helpful if the error message actually reflected that... 
|
Oops, just a typo. The message Attribute "Date" not allowed should read Attribute "ID" not allowed. Fixed in the current SVN version. |
66464
|
Mon Jul 27 10:20:14 2009 |
| T. Ribbrock | emgaron+elog@ribbrock.org | Bug report | Linux | 2.7.6 | Wrong error message if invalid attribute is used |
I just ran into this little bug: I had defined a new logbook in my config file and suddenly got the message Attribute "Date" not allowed. While I did have several attributes starting with the word "Date" (e.g. "Date In Service", "Date Retired") I had no attribute "Date" in there. After some pondering and wildly commenting out lines, it finally dawned on me: I had used an attribute "ID" - which is also not allowed. However, it would be very helpful if the error message actually reflected that...  |
66463
|
Mon Jul 27 09:25:06 2009 |
| Jay Johnstone | jay.johnstone@gmail.com | Question | Windows | 2.7.6 | Re: Changing Entry Time |
Stefan Ritt wrote: |
Jay Johnstone wrote: |
Hi,
I am new to eLog, trying to make a logbook tool. This is probably a question with a simple answer, but here it is... I need to be able to edit the entry time for an entry as it is being made and also in Edit mode later. We have field staff who use a paper log in the field and then come back to the computer later and create the log entries, and they need to be time stamped to reflect when an event happened, not when the entry is put into the log.
I'm guessing I'm missing something easy in my Config file, I've looked through the config examples and searched the forum but I couldn't come up with an example of how to make this work.
Thanks in advance!
Jay
|
Hi Jay,
the entry time cannot be changed, because it should reflect the real time when the entry was made. What you can do in your case is to define a "datetime" attribute, which contains then the time stamp. You need something like this:
Attributes = Author, Field time, Subject
Type Field time = datetime
...
|
Hi, Stefan,
Thanks for the quick reply, I've added that to my config and it does what we need.
Cheers, Jay |
66462
|
Mon Jul 27 08:40:50 2009 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.7.6 | Re: Changing Entry Time |
Jay Johnstone wrote: |
Hi,
I am new to eLog, trying to make a logbook tool. This is probably a question with a simple answer, but here it is... I need to be able to edit the entry time for an entry as it is being made and also in Edit mode later. We have field staff who use a paper log in the field and then come back to the computer later and create the log entries, and they need to be time stamped to reflect when an event happened, not when the entry is put into the log.
I'm guessing I'm missing something easy in my Config file, I've looked through the config examples and searched the forum but I couldn't come up with an example of how to make this work.
Thanks in advance!
Jay
|
Hi Jay,
the entry time cannot be changed, because it should reflect the real time when the entry was made. What you can do in your case is to define a "datetime" attribute, which contains then the time stamp. You need something like this:
Attributes = Author, Field time, Subject
Type Field time = datetime
... |