سؤال

I publish my blog using github pages. Recently I noticed a permalink to one of the posts broke.

It used to be this:

http://strilanc.com/quantum/2014/03/07/Building-your-own-Quantum-Fourier-Transform.html

but now it's this:

http://strilanc.com/quantum/2014/03/06/Building-your-own-Quantum-Fourier-Transform.html

The date shown for the post is also one day earlier than what's specified in the filename and metadata at the start of the contents:

Filename: 2014-03-07-Building-your-own-Quantum-Fourier-Transform.markdown

---
layout: post
title: "Building your own Quantum Fourier Transform"
date: 2014-03-07 0:30:01
categories: quantum
---

Even more strangely, the local server I run with jekyll serve does show the right date, and use the right permalink.

What the heck is going on?

هل كانت مفيدة؟

المحلول

I'm not 100% positive on this but is it possible that since there is no timezone information in that date that it is being converted when it is built?

Just as an FYI, if you didn't know already, that date is not necessary unless you need to maintain order of posts in a more granular way than the date in the filename.

No definitive answer here just some thoughts and comments.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top