Skip to main content


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 13:46 Go to next message
Olaf Burdziakowski is currently offline Olaf BurdziakowskiFriend
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 13:50 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
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: Fri Apr 26 14:59:31 GMT 2024

Powered by FUDForum. Page generated in 0.03700 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top