Code Monkey home page Code Monkey logo

Comments (6)

bauerj avatar bauerj commented on May 18, 2024 1

So it would take the time zone from the server?

No, the local time zone from the OS. Changing the server to UTC just fixed the issue because the app currently assumes the date should be displayed in UTC.

from paperless_app.

jonaswinkler avatar jonaswinkler commented on May 18, 2024

Did you configure PAPERLESS_TIME_ZONE properly?

from paperless_app.

amenk avatar amenk commented on May 18, 2024

Yes it's set to Europe/Berlin on the paperless docker env

from paperless_app.

amenk avatar amenk commented on May 18, 2024

If I do not set this variable and use the UTC default, it works.

from paperless_app.

bauerj avatar bauerj commented on May 18, 2024

I can reproduce this issue here.

The timestamp comes back from the server as 2021-02-28T23:00:00Z which would be correct for Europe/Berlin. The app currently displays the timestamp in UTC, not the local timezone.

I will change the app behaviour to be consistent with the web interface. However, I'm not sure if this is really what the user expects. If I scan a document in March at home, then travel to London, I don't expect it to show up in February.

from paperless_app.

amenk avatar amenk commented on May 18, 2024

Yeah, time zones are tough and are a headache.

So it would take the time zone from the server? If the sever stays at home it might still show march.

Frequent travelers just should run the sever in UTC ;-) ?

from paperless_app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.