Fixed stocks dashboard tz issue (#2844)

* Fixed stocks dashboard tz issue

* Trying to fix gh-pages CI

* Trying to fix gh-pages CI
This commit is contained in:
Colin Delahunty
2022-10-14 16:47:36 +01:00
committed by GitHub
parent 53b2377716
commit ff3f0f450a
2 changed files with 5 additions and 3 deletions

View File

@@ -2,10 +2,10 @@ name: github pages
on: push
jobs:
deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # actions/checkout v3.0.2
- name: Setup hugo
uses: peaceiris/actions-hugo@v2

View File

@@ -206,6 +206,8 @@
" interval=interval,\n",
" progress=False,\n",
" )\n",
" if not self.df.empty:\n",
" self.df.index = self.df.index.tz_localize(None)\n",
" self.last_tickers = tickers\n",
" self.last_interval = interval\n",
"\n",
@@ -391,7 +393,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.13"
"version": "3.9.6"
},
"metadata": {
"interpreter": {