Git Product home page Git Product logo

time-quick-fix's Introduction

Time Quick Fix for Miyoo Mini+

Main Apps UI

Using NTP and CloudFlare, fix your system time.

Pre-requisities

  • OnionOS 4.2 beta (at least) must be installed for this to function.
  • Wifi enabled

Installation

  1. Drag the App folder from this repo to the root of your SD card. Hit "Merge" on macOS and whatever does the same thing on the Windows.

IMPORTANT NOTE:

  • By default, the time is set to UTC-0. Your timezone is probably not UTC-0. To fix this, open the launch.sh file within App > TimeQuickFix in a text editor and change export TZ=UTC-0 to whatever your UTC offset is.
    • โš ๏ธ This part is both important and slightly confusing. Example: astern USA (New York, DC, Atlanta, Florida etc.) is listed above as UTC-5:00. However, because of daylight savings time (which runs from Mar to Nov each year) it is "technically" UTC-4.
    • On top of that, the TZ env is backwards. Meaning, eastern folks should not be UTC minus 4, but UTC plus 4. Confusing, I know. But, all in all, your end result should be export TZ=UTC+4 if you are in the eastern USA region.
      • Thank you to XK for helping with this.

My recommendation is to make two launch.sh files. One for right now, one for when your region is no longer observing DST. When DST is over, simply rename the second launch.sh to the original name, launch.sh. The name of the copy you make does not matter.

  • tl;dr: Find UTC offset, change the minus to plus or plus to minus, subtract 1 if your region observes daylight savings time. If your region does not observe DST, you will never need a second file.

Post-install

This app is born out of a desire to get cloud saves to and from my Miyoo Mini, and that project can be found here.

Notes:

These features are likely to come to OnionOS in the coming weeks/months. If and when that happens, consider this repo obsolete. If need be, I will update with minor fixes if anything needs changing.

All of these apps are powered by simple Linux commands. Feel free to edit them how you see fit.

If this has helped you, I don't want anything. I want a BlueSky invite. Please send me a BlueSky invite.

time-quick-fix's People

Contributors

hotcereal avatar

Stargazers

KaO avatar  avatar  avatar  avatar Sylvain Rio avatar David Woodward avatar Lahey avatar Mei Fagundes avatar

Watchers

 avatar

time-quick-fix's Issues

TZ setting is ignored

Whatever value is entered for "TZ" is not considered and when running the app the time is always adjusted based on TZ=UTC-0

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.