Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Texo] Hard-coded date time format ...
[Texo] Hard-coded date time format ... [message #873098] Thu, 17 May 2012 09:46 Go to next message
Olaf Burdziakowski is currently offline Olaf Burdziakowski
Messages: 46
Registered: April 2012
Member
I need to save xml with certain date time format. However it seems that Texo hard coded in org.eclipse.emf.texo.utils.ModelUtilsthe format:

private static final SimpleDateFormat xmlDateFormat;

static
{
xmlDateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.S'Z'");
}

Can it be somehow changed? Is it planned to be configurable?
Re: [Texo] Hard-coded date time format ... [message #873101 is a reply to message #873098] Thu, 17 May 2012 09:50 Go to previous message
Martin Taal is currently offline Martin Taal
Messages: 5326
Registered: July 2009
Senior Member
Hi Olaf,
The current approach follows the XML schema standard. But your request makes sense, can you enter a bugzilla for this? I
will make it configurable.

gr. Martin

On 05/17/2012 03:46 PM, Olaf Burdziakowski wrote:
> I need to save xml with certain date time format. However it seems that Texo hard coded in
> org.eclipse.emf.texo.utils.ModelUtilsthe format:
>
> private static final SimpleDateFormat xmlDateFormat;
>
> static
> {
> xmlDateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.S'Z'");
> }
>
> Can it be somehow changed? Is it planned to be configurable?


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Previous Topic:Problem with connector of Tree Routing type
Next Topic:Texo: list of annoying details
Goto Forum:
  


Current Time: Wed Jul 23 20:21:30 EDT 2014

Powered by FUDForum. Page generated in 0.01384 seconds