-
Notifications
You must be signed in to change notification settings - Fork 60
datestamp() function #645
Comments
|
or do you mean the other way around — that would be |
Nope, it uses this format:
I want, literally: |
Well, the trouble here is that all those Date.string returns I suppose the correct way to approach this would be to put those specific formats into ceylon.formatter module. |
On the other hand, the YYMMDD and HHmmss formats are also valid ISO representations. so it would be relatively easy to change default output to the shorter variant. I personally dislike those though. They are useful at times, but I prefer to keep the variants with dashes and colons as default textual representation. |
And I think that's perfectly fine. I don't want to change that. But the shorter YYMMDD and HHmmss formats are also sometimes useful, and I think we should have convenience functions (or attributes, perhaps) for generating them. |
Currently
ceylon.time
can produce ISO timestamps. I would also like to have a convenience function for rendering "date stamps", of form 20161102.@DiegoCoronel @luolong WDYT?
The text was updated successfully, but these errors were encountered: