This is an automated email from the ASF dual-hosted git repository.

vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git


The following commit(s) were added to refs/heads/master by this push:
     new 03bdd3e  Site: configure Jekyll to use Etc/GMT+5 timezone for 
consistent page URLs
03bdd3e is described below

commit 03bdd3e8be505fe5ad0c076356551f2d14b54d71
Author: Vladimir Sitnikov <[email protected]>
AuthorDate: Sun Nov 10 22:41:59 2019 +0300

    Site: configure Jekyll to use Etc/GMT+5 timezone for consistent page URLs
    
    Jekyll seems to use client's time zone by default, and it causes
    separate-project.html to be rendered as 2016/03/03 or 2016/03/04
    depending on the build timezone.
    
    Hopefully Etc/GMT+5 sorts that out
---
 site/_config.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/site/_config.yml b/site/_config.yml
index 1deecde..1fc3bfa 100644
--- a/site/_config.yml
+++ b/site/_config.yml
@@ -21,6 +21,9 @@ repository: https://github.com/apache/calcite-avatica
 destination: target/avatica
 exclude: [README.md,Gemfile*,add-avatica-go-docs.sh,docker-compose.yml,target]
 keep_files: [".git", ".svn", "apidocs", "testapidocs"]
+# This ensures 2016-03-03-separate-project.md is rendered 2016-03-03
+# no matter what the client time zone is
+timezone: Etc/GMT+5
 
 collections:
   docs:

Reply via email to