The discussion revolves around the implementation of localized inline date/time functionality in Discourse, originally provided by the Chronos plugin. LeoMcA highlights the need for timezone-aware dates, prompting a conversation about integrating this feature into core. j.jaffeux confirms the plugin, now renamed to Cronos (a spelling correction), has been pushed into core. The rename from Chronos to Cronos sparked debate due to the Greek mythological references—Chronos being time, Cronos a titan known for devouring his children—leading to suggestions for a more intuitive name. sam and codinghorror discuss renaming the plugin to discourse-local-dates to better reflect its purpose. The syntax has been simplified from [discourse-cronos] to [date], improving readability and reducing complexity. sam confirms the final syntax is now in place, though minor changes remain possible. The community expresses concerns about breaking existing posts, with cpradio suggesting a rake task for migration. The plugin will be removed from the repo in the future, and users are advised to update their installations. BlackKnob seeks clarification on upcoming changes, while Stephen and itsbhanusharma reflect on the naming and user experience.
Timezones suck, especially when they make you miss meetings.
It would be incredibly useful to be able to add a date to a post, and have it automagically change into the timezone of the person reading it (if there’s data to do so) or be able to click on it and have it show the time in various (or a user defined) timezone.
I’d love to propose a syntax to use, but I have no idea what makes the most sense. Obviously, it would include ISO 8601 formatted dates in some way.
I’ve created with the insert date option in the gear menu. Not many dates though. I guess if that requires manual modifications then those can be done but does it?
Note, definitely remove it from your yaml, in a few weeks we will be making the repo explode, in the mean time I renamed plugin.rb to plugin_old.rb so the old repo will do nothing.
If he wants this named chronos like it was or leave it cronos like it is now or call it something else like discourse shared dates is up to him.
I do think readability wise we should call the element [date] just like we call poll [poll] and not [discourse-poll] less words makes us all more happy
For sure, and if not I’d just prefer to reference something related to time, rather than a deity who castrated his father and ate his own kids. Right now though there are instances which have [discourse-chronos] referred to which will need to update to something because of this change, it would be great if they didn’t have to update twice.