Skip to content

Commit

Permalink
work around timezone problem (jekyll/jekyll#6033)
Browse files Browse the repository at this point in the history
deleted hidden posts
  • Loading branch information
UlyssesZh committed Nov 8, 2022
1 parent b548ebe commit d693046
Show file tree
Hide file tree
Showing 17 changed files with 10 additions and 622 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Ulysses' trip
author: UlyssesZhan
timezone: America/Los_Angeles
#timezone: America/Los_Angeles
collections:
posts:
title: Posts
Expand Down
9 changes: 9 additions & 0 deletions _plugins/fix_timezone.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Fuck time zones. I hope in one day the world will use UTC everywhere.
# See: https://github.com/jekyll/jekyll/issues/6033
module Jekyll::Utils
def parse_date input, msg = "Input could not be parsed."
Time.parse input
rescue ArgumentError
raise ::Jekyll::Errors::InvalidDateError, "Invalid date '#{input}': #{msg}"
end
end
573 changes: 0 additions & 573 deletions hidden_posts/pseudo_diary/first_half_of_2020.md

This file was deleted.

Binary file removed hidden_posts/running_group/001.jpg
Binary file not shown.
Binary file removed hidden_posts/running_group/002.jpg
Binary file not shown.
Binary file removed hidden_posts/running_group/003.jpg
Binary file not shown.
Binary file removed hidden_posts/running_group/004.jpg
Binary file not shown.
Binary file removed hidden_posts/running_group/005.jpg
Binary file not shown.
Binary file removed hidden_posts/running_group/006.jpg
Binary file not shown.
Binary file removed hidden_posts/running_group/007.jpg
Binary file not shown.
Binary file removed hidden_posts/running_group/008.jpg
Binary file not shown.
Binary file removed hidden_posts/running_group/009.jpg
Binary file not shown.
13 changes: 0 additions & 13 deletions hidden_posts/running_group/01.md

This file was deleted.

Binary file removed hidden_posts/running_group/010.jpg
Binary file not shown.
13 changes: 0 additions & 13 deletions hidden_posts/running_group/02.md

This file was deleted.

13 changes: 0 additions & 13 deletions hidden_posts/running_group/03.md

This file was deleted.

9 changes: 0 additions & 9 deletions hidden_posts/running_group/04.md

This file was deleted.

0 comments on commit d693046

Please sign in to comment.