Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Date format

Quote Reply
Date format
I tried to change the date format with the instructions given in the FAQ. After the change when I try to add a link, Links gives an error message : Date (Too long. Max length: 15). Is there a way to change this to more than 15 characters ?

Quote Reply
Re: Date format In reply to
Yes...there is (like with any other field like the URL field, which has been referenced numerous times in this forum)...

Change the following codes in the links.def file:

Code:
Date => [3, 'date', 15, 15, 1, \&get_date, ''],

with the following:

Code:
Date => [3, 'date', 50, 50, 1, \&get_date, ''],

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: Date format In reply to
Thank you for your help (once again). And yes, I try to search through the FAQ and discussion forums before asking, maybe there is something wrong with my keywords Wink

five40
Quote Reply
Re: Date format In reply to
 
Quote:
I try to search through the FAQ and discussion forums before asking, maybe there is something wrong with my keywords...

Most likely...

Wink

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.