Nils,

You basically have two options:
* change the default format in 
info.magnolia.cms.util.NodeDataUtil#getValueString (sounds like a good idea to 
display the time by default!?)
* configure the tree to use its specific date format, like 
info.magnolia.module.admininterface.trees.WebsiteTreeConfiguration does
  (you'll want to either modify 
info.magnolia.module.admininterface.trees.JcrBrowserTreeConfiguration or use 
your own TC)

Either way, you'll also have to patch info.magnolia.cms.gui.control.Tree to use 
the TreeColumn's data format in the if (tc.getIsNodeDataValue()) block. (other 
columns delegate to TreeColumn.getHtml, which respects the given date format)

HTH,

-g

On 14 Dec 2010, at 17:17, Nils Breunese wrote:

> 
> Hello,
> 
> I have a dialog with a date control which has time set to true. When I save a 
> date with the time set and then go to AdminCentral > Tools > JCR Browser 
> (Website) and browse to the saved property it displays as only the date part, 
> not the time. I can see the associated time when opening the dialog again or 
> exporting to XML, but I think the JCR Browser should show the time as well. 
> Should I file a JIRA ticket for this?
> 
> Nils.
> ------------------------------------------------------------------------
> VPRO
> phone:  +31(0)356712911
> e-mail: [email protected]
> web:    www.vpro.nl
> ------------------------------------------------------------------------
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to