You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shiro.apache.org by "Benjamin Marwell (Jira)" <ji...@apache.org> on 2022/02/11 11:57:00 UTC
[jira] [Updated] (SHIRO-861) Update date to date-time
[ https://issues.apache.org/jira/browse/SHIRO-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Marwell updated SHIRO-861:
-----------------------------------
Description:
The current feed is invalid because we do not deliver time and timezone information.
JBake is not very good at handling those information: The generator's locale will be taken into account. 'Z' is not recognized for the "jbake-published" tag.
That said, we would need to:update all articles
* to include a timeUpdate jbake.properties
* to include `date.format=yyyy-MM-dd'T'hh:mm:ss`
* Update the feed template to manually insert 'date' and a literal 'T' and 'time' and a literal 'Z'.
** This will result in wrong times, but at least it stays consistent with the folder structure. I.e. it would be odd if a blog entry from 2020-06-02 had a published date of 2020-06-01T23:00:00+0200.
* Update the header.tpl as well to include time information.
was:
The current feed is invalid because we do not deliver time and timezone information.
JBake is not very good at handling those information: The generator's locale will be taken into account. 'Z' is not recognized for the "jbake-published" tag.
That said, we would need to:update all articles
* to include a timeUpdate jbake.properties
* to include `date.format=yyyy-MM-dd'T'hh:mm:ss`
* Update the feed template to manually insert 'date' and a literal 'T' and 'time' and a literal 'Z'.
** This will result in wrong times, but at least it stays consistent with the folder structure. I.e. it would be odd if a blog entry from 2020-06-02 had a published date of 2020-06-01T23:00:00+0200.
* Update the header.tpl as well to include time information.
> Update date to date-time
> ------------------------
>
> Key: SHIRO-861
> URL: https://issues.apache.org/jira/browse/SHIRO-861
> Project: Shiro
> Issue Type: Task
> Components: Web Site
> Reporter: Benjamin Marwell
> Priority: Major
>
> The current feed is invalid because we do not deliver time and timezone information.
> JBake is not very good at handling those information: The generator's locale will be taken into account. 'Z' is not recognized for the "jbake-published" tag.
> That said, we would need to:update all articles
> * to include a timeUpdate jbake.properties
> * to include `date.format=yyyy-MM-dd'T'hh:mm:ss`
> * Update the feed template to manually insert 'date' and a literal 'T' and 'time' and a literal 'Z'.
> ** This will result in wrong times, but at least it stays consistent with the folder structure. I.e. it would be odd if a blog entry from 2020-06-02 had a published date of 2020-06-01T23:00:00+0200.
> * Update the header.tpl as well to include time information.
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@shiro.apache.org
For additional commands, e-mail: issues-help@shiro.apache.org