You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/03/05 16:35:00 UTC
[jira] [Closed] (DOXIASITETOOLS-291) Add timezone field to site descriptor PublishDate object and pass onto Velocity tools context
[ https://issues.apache.org/jira/browse/DOXIASITETOOLS-291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed DOXIASITETOOLS-291.
-----------------------------------------
Resolution: Fixed
Fixed with [6cfcf626d8b08bcddbd368a26e331e29e0bb9e99|https://gitbox.apache.org/repos/asf?p=maven-doxia-sitetools.git;a=commit;h=6cfcf626d8b08bcddbd368a26e331e29e0bb9e99].
> Add timezone field to site descriptor PublishDate object and pass onto Velocity tools context
> ---------------------------------------------------------------------------------------------
>
> Key: DOXIASITETOOLS-291
> URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-291
> Project: Maven Doxia Sitetools
> Issue Type: New Feature
> Components: Decoration model, Site renderer
> Affects Versions: 2.0.0-M5
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Priority: Major
> Fix For: 2.0.0-M6
>
>
> To better support MSITE-921 + MSHARED-1181 and reproducible builds, we should not depend on timezones, but have a reasonable default timezone which can be changed, of course. This needs to be passed to the Velocity tools context for the date objects. The {{publishDate}} property will then be subject to the same timezone. The system default timezone is still accessible with the {{system}} keyword.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)