Hi everybody,
I am using the sap.ui.model.type.DateTime to format data dinamically from a table, using a template like this one:
template: new sap.m.Text({ text: { path:columnName,
type: new sap.ui.model.type.DateTime({ source: { }, style: "short" }) },
}),
As a result, I get the data formatted but with a comma between date and time. For instance, for german language and the style short I get:
09.11.2017, 16:10
But I would like to take that comma away, like:
09.11.2017 16:10
Is that possible without using a pattern? (I dont want to use it to keep flexibility for different languages).
Thank you a lot for your help!
Request clarification before answering.
Hi,
If all fails you can do it on the backend side (by converting to Edm.String and having your way with it).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.