replacing 'YY
with YYYY
to get the full year
Iâve applied @ilikelinux research thx for that but need some tweaks in your $USER preferences donât mentioned in the original TOPIC which Iâve described below:
[Aug '2021] â references to first post
[Aug 25] â references to the next post
cc: @mattdm
Tweaks
Under your $USER preferences, please Select
Profile â Region â United State
Warning
if we are in multi-region, please ping me to change it in at least the most usual Region, for example es, it, uk, de, ch
Notes - Workaround
if youâve had an intermitent mixed of dates (YY) and (YYYY) clean your cokkies and cache only for this site
Regards.,
Shouldnât the '
have been dropped as well?
Instead of Aug '2021, Aug 2021
Iâm not quite sure about it but Iâd rather leave it as the system defaultsâŠ
Isnât the '
used to indicate a 2 digit year? It seems even more strange to me this way.
- @dalto Is a kind of separator althought I donât know what dark science with HTML or CSS is behind that apostrophe
- another thing, @mattdm would you like to apply the same on discussion.fp.org???
Regards.,
Thanks @hhlp to helping out with this format issue.
As I see in the instructions it seams to be java-script or at least definition for variables in java-script.
It also contains some html, example MMM D, 'YY <br/>LT
(see js.dates.long_date_with_year_with_linebreak)
You just have to be careful that you not brake the html while missforming a html-tag.
It seams that this happened now. Normally it is possible to click on replies views
and activity
to sort the topics. Now the hover link is broken.
You can check on https://meta.discourse.org/ while click on latest
and hover over the rows âreplies views & activityâ
Please verify if you replace 'YY with YYYY and let everyting else in tact. It could also be that the '
now makes trouble because of being obsolete. Spaces in and around html tags are quite inportant too.
If you copy and paste, you have to be aware that here in discourse we use html. If you copy and paste formatted text for example, you get unwanted characters when coping direct.
Instructions about what to replace:
Show post Year? - #3 by DeanMarkTaylor - feature - Discourse Meta
search for 'YY which will list: js.dates.tiny.date_year MMM 'YY js.dates.medium.date_year MMM D, 'YY js.dates.long_date_with_year MMM D, 'YY LT js.dates.long_date_with_year_without_time MMM D, 'YY js.dates.long_date_with_year_with_linebreak MMM D, 'YY <br/>LT Edit and adjust those replacing 'YY with YYYY to get the full year.```
https://discussion.fedoraproject.org/latest
Please see mouse pointer on both screens (link replies):
https://meta.discourse.org/latest
I do use this function regularly to sort and see if there are unanswered questions.
Would be great if this is available again.
- I donât know @ilikelinux, this behaviour is a consecuence by enabling this discourse-calendar plug-in in the site:
by this reason:
when sorting by start event date is enabled, then sorting by other means should be disabled.
This is the comment in discourse:
-
I think we need ask to @mattdm about this, Do we realy need this plug-ins enabled by default?
-
What will be the consecuent to disable it?, in reason to usability or continuing disabling
-
Is this functionality like discourse meta does, really necesary on the site?
WDYT???
Conclusion
the fix is in
Regards.,
Nope, we can turn it off. I was experimenting with it â it has some neat features, like staff being able to mark themselves on vacation. But it is very rudimentary.
RIght now, we are using it over on the other site for updates to the Council meetings and to announcing Fedora Social Hour times and dates. But we could do that a different way.
we can do the same with this plug-ins and are more with this rich plug-in:
of course weâre on hosting so no plug-ins installation available, but take in count when we will merging both sites⊠so IMHO, this is the right plug-in to do the task you mentioned before and more.
Regards.,
The Events plugin is weird â it is a whole site thing, which doesnât really fit our needs. There is a third-party one, but it is from a separate small company which has a whole suite called âPavilionâ, and it seems kind of invasive and not necessarily going to keep working with future versions of Discourse.
there is a fix on the way of the discourse-calendar as my comment before, letâs wait until the next discourse update
Regards.,
Thanks a lot âŠ
Just for the record, @dalto is correct about this â the â in '02 is specifically indicating that the year is abbreviated from 2002; with the four-digit year the apostrophe doesnât belong there. Iâm not saying itâs a crisis or anything, but it is entirely âincorrectâ in terms of commonly-understood rules for date formatting.
(See, for example, the right-hand âtimelineâ of this very discussion, which (before I post this) runs from âSep 2022â to âOct 2022â â no apostrophes in sight. The individual posts, though, show âOct '2022â which is nonsense. Mostly Harmless nonsense, but nonsense all the same.)1
Citation: Hereâs the branding guide for Arizona State University (as good a source as any) being very prescriptive on not only how to abbreviate years, but which apostrophe to use when doing so.
(Specifically: the U+2019 RIGHT SINGLE QUOTATION MARK (aka the curly single close-quote), not the U+2018 LEFT SINGLE QUOTATION MARK (curly single open-quote) that they claim MS Word will insert by default unless corrected.)
âŠBut a straight-up-and-down ASCII 0x27 apostrophe is usually Just Fineâą as well.
Notes
- When the year 12022, rolls around, then '2022 will be a valid representation of that year. But for the next 9999 years, itâs nonsense.
Yeah â @hhlp fixed this on Discussion and Iâve echoed that fix here.