Modify

Opened 10 years ago

Closed 4 years ago

Last modified 3 years ago

#11856 closed task (wontfix)

Document recommended practices for Trac 1.1+

Reported by: lkraav Owned by:
Priority: normal Component: DateFieldPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.2

Description

As Trac 1.1 has built in time format field, I think this plugin's wiki documentation should be updated. As I'm not entirely sure myself whether this plugin still has use on 1.1, perhaps someone can clue me in before I start blindly editing the wiki page.

Attachments (0)

Change History (12)

comment:1 Changed 10 years ago by Ryan J Ollos

I can't think of a reason why the DateFieldPlugin would be needed in 1.1.1 or later. The custom field type time was added in trac:#1942. At least one minor issue was fixed in 1.0.2dev, trac:#11436.

comment:2 Changed 10 years ago by Jun Omae

It is not compatible format between date field which is provided by this plugin and time field which is supported since 1.1. Then, it is needed for Trac 1.0.x or early users with the plugin even if Trac is upgraded to 1.1.

comment:3 Changed 10 years ago by Ryan J Ollos

Users could convert their data to the new time format though. It might be valuable to provide a script to do that. Either way, I don't plan to spend any time maintaining this plugin for Trac > 1.1, but anyone else is welcome to take over maintenance from me for that purpose.

comment:4 Changed 10 years ago by Ryan J Ollos

Owner: Robert Corsaro deleted

comment:5 Changed 9 years ago by Ryan J Ollos

Leaving this ticket open to eventually provide scripts for migrating to Trac time fields.

comment:6 Changed 9 years ago by Ryan J Ollos

If anyone has a need to convert from text custom field to time custom field, please provide your [ticket-custom] section and I'll work on a conversion script.

comment:7 Changed 7 years ago by anonymous

Was a script ever create to convert from text custom field to time custom field?

comment:8 Changed 5 years ago by Ryan J Ollos

Cc: Ryan J Ollos removed

comment:9 in reply to:  7 Changed 4 years ago by Ryan J Ollos

Replying to anonymous:

Was a script ever create to convert from text custom field to time custom field?

No, but if you still need, see comment:6 and I can help you with it.

See also DateFieldPlugin@64.

comment:10 Changed 4 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

comment:11 in reply to:  6 ; Changed 3 years ago by anonymous

Replying to Ryan J Ollos:

If anyone has a need to convert from text custom field to time custom field, please provide your [ticket-custom] section and I'll work on a conversion script.

If possible please, looking for a conversion script from:

[ticket-custom]
creationdate = text
creationdate.date = true
creationdate.date_empty = false
creationdate.format = plain
creationdate.label = Creation Date
creationdate.options =
creationdate.order = 1
creationdate.value =

to:

[ticket-custom]
creationdate = time
creationdate.format = date
creationdate.label = Creation Date
creationdate.value = today

Thanks!

Last edited 3 years ago by Jun Omae (previous) (diff)

comment:12 in reply to:  11 Changed 3 years ago by Ryan J Ollos

Replying to anonymous:

Replying to Ryan J Ollos:

If anyone has a need to convert from text custom field to time custom field, please provide your [ticket-custom] section and I'll work on a conversion script.

If possible please, looking for a conversion script from:

I won't have time to write a script, but if you ask on the MailingList we can give some pointers on writing a script.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.