ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
1349
|
Wed Jul 27 16:46:44 2005 |
| Kees Bol | kees.bol@wur.nl | Question | Linux | 2.57-1 | attribute of type "datetime" sorted incorrectly |
In order to enter different logdates we created the attribute 'Logdate' as follows:
...
Attributes = Logdate, Author, Type, Subject
Type Logdate = datetime
Preset Logdate = $date
List Display = ID, Logdate, Author, Type, Subject
Start page = ?rsort=Logdate
Time format = "%d-%b-%y %H:%M"
Date format = %d-%b-%y
...
However some unexpected things happen:
1) when sorting on Logdate the sorting is incorrect
2) I expected some kind of fieldchecking when filling this field, however you can enter any text.
What goes wrong here?
Thanks |
Attachment 1: scrap.PNG
|
|
1352
|
Wed Jul 27 21:22:47 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.57-1 | Re: attribute of type "datetime" sorted incorrectly |
Kees Bol wrote: | What goes wrong here? |
The wrong sorting is a mystery to me. I redid what you have, and entered exactly the same entries, and got following:

As you can see, the sorting is quite different. What happens if you reload the page, what if you restart elogd?
As for the missing validity check for the date field, all what was missing was the year check. I added that. |
1357
|
Thu Jul 28 09:46:40 2005 |
| Kees Bol | kees.bol@wur.nl | Question | Linux | 2.57-1 | Re: attribute of type "datetime" sorted incorrectly |
Stefan Ritt wrote: |
Kees Bol wrote: | What goes wrong here? |
The wrong sorting is a mystery to me. I redid what you have, and entered exactly the same entries, and got following:

As you can see, the sorting is quite different. What happens if you reload the page, what if you restart elogd?
As for the missing validity check for the date field, all what was missing was the year check. I added that. |
Stefan, I think it has something to do with version 2.57-1. Yesterday evening I installed V2.60 and there was a big difference. All entries of Logdate were changed in 1-jan-70 and when entering/editing an entry I now get the calendar and clock. So everything, including sorting, looks good now.
Thanks |
612
|
Fri Jul 16 06:20:40 2004 |
| Geo Geo | gorilla_geo@yahoo.com | | Windows | 2.53. | Fixed Attribute Reply |
Hi Stefan
YOu have been a great help on the Elog problem solving .
I have another sort of bug , when i have a attribute type as date.
And i have fixed the attribute on reply , i actually get a string of
number when i reply , and the date becomes not the orginal date in the
first message.
So the way i work ard is that i did not place the date field in the fixed
attribute reply which i will run the risk of pple modifying that entry .
Can this be fix?
Thanks |
625
|
Wed Jul 28 21:25:52 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | | Windows | 2.53. | Re: Fixed Attribute Reply |
> Hi Stefan
> YOu have been a great help on the Elog problem solving .
> I have another sort of bug , when i have a attribute type as date.
> And i have fixed the attribute on reply , i actually get a string of
> number when i reply , and the date becomes not the orginal date in the
> first message.
>
> So the way i work ard is that i did not place the date field in the fixed
> attribute reply which i will run the risk of pple modifying that entry .
> Can this be fix?
Yes, I fixed this. Revision 1.412 under CVS, new snapshot for Windows at the
download page. |
557
|
Fri Jun 4 22:40:44 2004 |
| Robin Peterson | robin.h.peterson@state.or.us | | | 2.52 | Using select menu option to move multiple logbook entries to another logbook |
I'm trying to configure this thing to be able to filter on a set of
criteria, choose select, choose toggle all, and then choose "Move to
Complete Work Requests".
I've been able to select a specific logbook entry and move it, and I've
been able to filter and select and toggle, but I can't figure out how to
get the Move To option to show up on the main logbook menu....
what am I missing?
robin |
558
|
Mon Jun 7 15:58:10 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | | | 2.52 | Re: Using select menu option to move multiple logbook entries to another logbook |
> I've been able to select a specific logbook entry and move it, and I've
> been able to filter and select and toggle, but I can't figure out how to
> get the Move To option to show up on the main logbook menu....
To be able to move entries between logbooks, you have to enable the "move to"
command with the option "Menu commands" like:
Menu commands = Back, New, Edit, Delete, Reply, Find, Config, Move to, Help
Having done this, the menu "Move to xxx" should show up when you select an
individual entry, where xxx is the name of the other logbook(s). If you so a
"Select" on several entries, a new button should show up which lets you move
all selected entries to the other logbook(s). See elog:/1 for an example. If
you do not observer this behaviour, please let me know. |
Attachment 1: move_to.gif
|
|
1296
|
Fri Jul 22 03:15:29 2005 |
| PJ Meyer | pjm@pjmeyer.org | Question | Windows | 2.5.? | Date in CSV and XML in UNIX time |
Q: How can dates be exported correctly in CSV and XML?
In windows version I'm getting the Unix seconds since 1970.
XML export:
<DATE>Wed Jun 22 08:29:58 2005</DATE>
<Date_Needed>1119384000</Date_Needed>
<Date_Added>1119470400</Date_Added>
the date record added is good and readable, the two user defined dates are Unix and not real useful in Excel.
Same behavior is the CSV file, the date record added is good, the two user defined dates are Unix seconds.
Now when E-log emails the records all the dates are good - ie readable dates.
So what can be done to make all the dates look like dates? |