From 222be5e44d71eeeb97a4d6602122a8c2d1a0e346 Mon Sep 17 00:00:00 2001 From: Avinal Kumar Date: Tue, 26 Sep 2023 20:19:31 +0530 Subject: [PATCH] fix date errors Signed-off-by: Avinal Kumar --- src/Pages/Pages/Projects.elm | 2 +- src/Utils/Constants.elm | 38 ++++++++++++++++++------------------ 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/Pages/Pages/Projects.elm b/src/Pages/Pages/Projects.elm index 8dd4b9a..a389985 100644 --- a/src/Pages/Pages/Projects.elm +++ b/src/Pages/Pages/Projects.elm @@ -32,7 +32,7 @@ type alias Model = init : () -> ( Model, Effect Msg ) init () = ( {} - , Effect.pushRoute { path = Route.Path.NotFound_, query = Dict.empty, hash = Nothing } + , Effect.replaceRoute { path = Route.Path.NotFound_, query = Dict.empty, hash = Nothing } ) diff --git a/src/Utils/Constants.elm b/src/Utils/Constants.elm index 6367a38..9dc4a42 100644 --- a/src/Utils/Constants.elm +++ b/src/Utils/Constants.elm @@ -49,62 +49,62 @@ jobList : List (Job msg) jobList = [ { title = "Associate Software Engineer" , company = "Red Hat" - , from = "2022-07-01 10:10" + , from = "2022-07-01T10:10:00" , to = "Present" , body = Html.div [] [ Html.p [ class "mb-4 text-base font-normal text-gray-400" ] [ Html.text "Working on Tekton Results and Pipeline Service." ] ] } , { title = "Google Summer of Code Mentor" , company = "FOSSology" - , from = "2022-05-01 10:10" - , to = "Present" + , from = "2022-05-01T10:10:00" + , to = "Parent" , body = Html.p [ class "mb-4 text-base font-normal text-gray-400" ] [ Html.text "Mentoring Google Summer of Code contributors for The FOSSology Project." ] } , { title = "Software Engineering Intern" , company = "Red Hat" - , from = "2022-01-05 10:10" - , to = "2022-06-30 10:10" + , from = "2022-01-05T10:10:00" + , to = "2022-06-30T10:10:00" , body = Html.p [ class "mb-4 text-base font-normal text-gray-400" ] [ Html.text "Worked on Pipeline Service and Minimal Tekton Server." ] } , { title = "Technical Writer" , company = "API7.ai" - , from = "2022-02-01 10:10" - , to = "2022-07-31 10:10" + , from = "2022-02-01T10:10:00" + , to = "2022-07-31T10:10:00" , body = Html.p [ class "mb-4 text-base font-normal text-gray-400" ] [ Html.text "Created Katacoda tutorials for Apache APISIX, a cloud-native API gateway." ] } , { title = "Open Source Contributor" , company = "FOSSology" - , from = "2021-05-15 10:10" - , to = "2021-09-23 10:10" + , from = "2021-05-15T10:10:00" + , to = "2021-09-23T10:10:00" , body = Html.p [ class "mb-4 text-base font-normal text-gray-400" ] [ Html.text "Upgraded old build system to CMake and improved tests and CI/CD for FOSSology." ] } , { title = "Java Developer Intern" , company = "XResearch" - , from = "2021-03-01 10:10" - , to = "2021-05-15 10:10" + , from = "2021-03-01T10:10:00" + , to = "2021-05-15T10:10:00" , body = Html.p [ class "mb-4 text-base font-normal text-gray-400" ] [ Html.text "" ] } , { title = "Technical Writer" , company = "VideoLAN" - , from = "2020-09-15 10:10" - , to = "2020-11-30 10:10" + , from = "2020-09-15T10:10:00" + , to = "2020-11-30T10:10:00" , body = Html.p [ class "mb-4 text-base font-normal text-gray-400" ] [ Html.text "Created Mobile App user documentation for VLC Media Player." ] } , { title = "Hindi Editor" , company = "SRIJAN, NIT Hamirpur" - , from = "2018-11-01 10:10" - , to = "2022-09-30 10:10" + , from = "2018-11-01T10:10:00" + , to = "2022-09-30T10:10:00" , body = Html.p [ class "mb-4 text-base font-normal text-gray-400" ] [] } , { title = "Member" , company = "Computer Science Engineers' Society, NIT Hamirpur" - , from = "2019-01-07 10:10" - , to = "2022-06-30 10:10" + , from = "2019-01-07T10:10:00" + , to = "2022-06-30T10:10:00" , body = Html.p [ class "mb-4 text-base font-normal text-gray-400" ] [] } , { title = "Computer Science and Engineering" , company = "National Institute of Technology Hamirpur" - , from = "2018-06-20 10:10" - , to = "2022-05-31 10:10" + , from = "2018-06-20T10:10:00" + , to = "2022-05-31T10:10:00" , body = Html.p [ class "mb-4 text-base font-normal text-gray-400" ] [] } ]