When inserting a date/time in the About Me section it gets formatted as datetime, not the expected date and time format.
Inserting Date/Time
Public Profile
Discourse Information:
- Installed 2.4.0.beta9 (e36efb1edc)
When inserting a date/time in the About Me section it gets formatted as datetime, not the expected date and time format.
I don’t think this kind of date formatting is supported in About Me.
Yeah I don’t think we run the full post decoration in the about me section (nor should we), that said I think it would not be too much of a stretch to add support for the date picker there especially since we show it in the toolbar.
@joffreyjaffeux thoughts?
So I can make it work quite easily:
But it has a price that I don’t think we are willing to pay:
[1] pry(main)> PrettyText.excerpt("<b>Foo</b>", 5)
=> "Foo"
{{text-overflow}}
componentSo to make it work without going crazy and building some kind of postCooked hook this is not possible without changing:
<div class='bio'>{{text-overflow class="overflow" text=user.bio_excerpt}}</div>
to
<div class='bio'>{{{user.bio_cooked}}}</div>
Which I don’t think we want to do for such a specific edge case, it basically means we are rendering HTML from a user input. Your call, let me know if you want to dig this more or explore other solutions.
Might be safer to just remove toolbar button from about composer ?
Yes remove that button please.