Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SHIRO-861] add time information (GMT/UTC) #146

Merged
merged 1 commit into from
Feb 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .mvn/jvm.config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-Duser.timezone=GMT
3 changes: 3 additions & 0 deletions jbake.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ template.lend_a_hand.file=lend_a_hand.ftl
template.securitytxt.file=securitytxt.ftl
template.securitytxt.extension=.txt

date.format=yyyy-MM-dd hh:mm:ss
freemarker.timezone=GMT

#db.store=plocal
#db.path=cache

Expand Down
2 changes: 1 addition & 1 deletion src/site/content/10-minute-tutorial.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= 10 Minute Tutorial on Apache Shiro
Brian Demers
2016-10-23
:jbake-date: 2016-10-23 00:00:00
:jbake-type: page
:jbake-status: published
:jbake-tags: documentation, manual
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Great Source Comments
Les Hazlewood
:jbake-date: 2010-03-18
:jbake-date: 2010-03-18 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Apache Shiro 1.0.0-incubating Released!
Les Hazlewood
:jbake-date: 2010-06-01
:jbake-date: 2010-06-01 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog, release
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= SDForum Java SIG Apache Shiro Presentation
Les Hazlewood
:jbake-date: 2010-06-01
:jbake-date: 2010-06-01 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog, release
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= IBM DeveloperWorks - Introduction to Apache Shiro
Les Hazlewood
:jbake-date: 2010-09-14
:jbake-date: 2010-09-14 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= San Francisco JUG presentation
Les Hazlewood
:jbake-date: 2010-09-20
:jbake-date: 2010-09-20 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Apache Shiro becomes an Apache Top Level Project
Les Hazlewood
:jbake-date: 2010-09-24
:jbake-date: 2010-09-24 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog, apache
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Apache Shiro 1.1.0 Released
Les Hazlewood
:jbake-date: 2010-11-03
:jbake-date: 2010-11-03 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog, release
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Apache Shiro video and slide from SF JUG (Presentation)
Alex Salazar
:jbake-date: 2011-01-06
:jbake-date: 2011-01-06 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog, guide
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Apache Shiro support for mule
Alex Salazar
:jbake-date: 2011-01-13
:jbake-date: 2011-01-13 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog, guide
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Apache Shiro integration for Grails 1.1.3 released
Alex Salazar
:jbake-date: 2011-02-10
:jbake-date: 2011-02-10 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog, guide
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Java Authorization Guide with Apache Shiro posted
:jbake-author: Alex Salazar
:jbake-date: 2011-02-28
:jbake-date: 2011-02-28 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog, guide
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= infoq article on Apache Shiro
Les Hazlewood
:jbake-date: 2011-03-14
:jbake-date: 2011-03-14 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= The new role-based vs resource-based access control
Les Hazlewood
:jbake-date: 2011-05-24
:jbake-date: 2011-05-24 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Apache Shiro Login Demo
Les Hazlewood
:jbake-date: 2011-06-30
:jbake-date: 2011-06-30 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog, youtube, video
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Apache Shiro 1.2.0 Released!
:jbake-author: Lez Hazelwood
:jbake-date: 2012-01-24
:jbake-date: 2012-01-24 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= What's new in Apache Shiro 1.2?
:jbake-author: Lez Hazelwood
:jbake-date: 2012-03-13
:jbake-date: 2012-03-13 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Apache Shiro 1.2.1 Released
Les Hazlewood
:jbake-date: 2012-07-29
:jbake-date: 2012-07-29 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog, release
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
= Apache Shiro 1.2.2 Released
:jbake-date: 2013-05-30
:jbake-date: 2013-05-30 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog, asciidoc
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Apache Shiro 1.2.4 Released
Kalle Korhonen
:jbake-date: 2015-08-03
:jbake-date: 2015-08-03 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Apache Shiro 1.2.4 Released
Brian Demers
:jbake-date: 2016-05-26
:jbake-date: 2016-05-26 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Apache Shiro 1.2.4 Released
Brian Demers
:jbake-date: 2016-07-05
:jbake-date: 2016-07-05 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Apache Shiro 1.3.0 Released
Brian Demers
:jbake-date: 2016-07-25
:jbake-date: 2016-07-25 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Apache Shiro 1.3.1 Released
Brian Demers
:jbake-date: 2016-08-29
:jbake-date: 2016-08-29 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Apache Shiro 1.3.2 Released
Brian Demers
:jbake-date: 2016-09-09
:jbake-date: 2016-09-09 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Apache Shiro 1.4.0-RC2 Released
Brian Demers
:jbake-date: 2016-11-14
:jbake-date: 2016-11-14 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Apache Shiro 1.4.1 Released
François Papon
:jbake-date: 2019-05-01
:jbake-date: 2019-05-01 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Apache Shiro 1.4.2 Released
François Papon
:jbake-date: 2019-11-18
:jbake-date: 2019-11-18 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
= Apache Shiro 1.5.0 Released
:jbake-date: 2020-01-25
:jbake-date: 2020-01-25 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
= Apache Shiro 1.5.1 Released
:jbake-date: 2020-02-23
:jbake-date: 2020-02-23 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
= Apache Shiro 1.5.2 Released
:jbake-date: 2020-03-25
:jbake-date: 2020-03-25 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
= Apache Shiro 1.5.3 Released
:jbake-date: 2020-05-03
:jbake-date: 2020-05-03 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Feathercast with Brian Demers
:jbake-author: Benjamin Marwell
:jbake-date: 2020-05-25
:jbake-date: 2020-05-25 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog, video, feathercast
Expand Down
2 changes: 1 addition & 1 deletion src/site/content/blog/2020/v1.6.0.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Apache Shiro 1.6.0 available
François Papon
2020-08-17
:jbake-date: 2020-08-17 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog, asciidoc
Expand Down
2 changes: 1 addition & 1 deletion src/site/content/blog/2020/v1.7.0.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= 1.7.0 available with fix CVE-2020-17510
François Papon
2020-10-29
:jbake-date: 2020-10-29 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog, asciidoc
Expand Down
2 changes: 1 addition & 1 deletion src/site/content/blog/2021/v1.7.1.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= 1.7.1 available with fix CVE-2020-17523
Brian Demers
2021-01-31
:jbake-date: 2021-01-31 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog, asciidoc
Expand Down
2 changes: 1 addition & 1 deletion src/site/content/blog/2021/v1.8.0.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Apache Shiro v1.8.0 released
Benjamin Marwell
2021-08-26
:jbake-date: 2021-08-26 00:00:00
:jbake-type: post
:jbake-status: published
:jbake-tags: blog, asciidoc
Expand Down
2 changes: 1 addition & 1 deletion src/site/content/blog/2022/02/09/new-shiro-website.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= The new Apache Shiro website is live!
:jbake-author: Benjamin Marwell
:jbake-date: 2022-02-09
:jbake-date: 2022-02-09 15:43:22
:jbake-type: post
:jbake-status: published
:jbake-tags: website
Expand Down
2 changes: 1 addition & 1 deletion src/site/templates/feed.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<title>${post.title}</title>
<link href="${config.site_host}/${post.uri}"/>
<id>${config.site_host}/${post.uri}</id>
<updated>${post.date?date?string.iso_s_nz}</updated>
<updated>${post.date?datetime?string.iso_s_u}</updated>
<#if (post.description??)>
<summary>${post.description}</summary>
</#if>
Expand Down
10 changes: 5 additions & 5 deletions src/site/templates/header.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
<#switch (content.type)!"">
<#case "post">
<#if (content.date)??>
<meta property="article:published_time" content="${content.date?date?string.iso}"/>
<meta name="publish_date" property="og:publish_date" content="${content.date?date?string.iso}"/>
<meta property="article:published_time" content="${content.date?datetime?string.iso_s_u}"/>
<meta name="publish_date" property="og:publish_date" content="${content.date?datetime?string.iso_s_u}"/>
</#if>
<#if (content.author!"") != "">
<#assign authors = data.get('authors.yaml').authors>
Expand All @@ -83,11 +83,11 @@
</#if>
<meta name="twitter:site" content="@ApacheShiro" />
<#if (content.date)??>
<meta property="article:modification_time" content="${content.date?date?string.iso}"/>
<meta property="article:modification_time" content="${content.date?datetime?string.iso_s_u}"/>
</#if>
<#if (content.published_date)??>
<meta property="article:published_time" content="${content.published_date?date?string.iso}"/>
<meta name="publish_date" property="og:publish_date" content="${content.published_date?date?string.iso}"/>
<meta property="article:published_time" content="${content.published_date?datetime?string.iso_s_u}"/>
<meta name="publish_date" property="og:publish_date" content="${content.published_date?datetime?string.iso_s_u}"/>
</#if>
<#break>
<#default>
Expand Down
2 changes: 1 addition & 1 deletion src/site/templates/post.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<p>
<em>Published ${theauthor}on the
<time datetime="${content.date?date?string.iso}">${content.date?string("dd")}${ordsuf} of ${content.date?string("MMMM, yyyy")}</time>
<time datetime="${content.date?datetime?string.iso_s_u}">${content.date?string("dd")}${ordsuf} of ${content.date?string("MMMM, yyyy")}</time>
</em>
</p>

Expand Down