Coder Social home page Coder Social logo

Comments (2)

kannibalox avatar kannibalox commented on June 13, 2024

Those should still work:

$ rtcontrol loaded\>12h -o loaded -/3
2022-09-17 07:43:15
2022-09-03 20:52:40
2022-09-10 09:18:40
$ rtcontrol loaded\>2w -o loaded -/3
2022-09-03 20:52:40
2022-09-03 21:22:44
2022-09-03 20:58:35
$ rtcontrol loaded\<2w -o loaded -/3
2022-09-17 07:43:15
2022-09-10 09:18:40
2022-09-16 16:05:00

I did however change them to be case sensitive in order to allow for both minutes (m) and months (M).

from pyrosimple.

TMD20 avatar TMD20 commented on June 13, 2024

Okay
Thanks for clearing that up.
I was using some old syntax. With the changes H vs h, now have different results. With only the lowercase letter version working. Capital letters probably only work now in the case in the case of minutes vs months, or similar.

pyrocore handle it a little different. H vs h was parsed as the same thing

In time filtering conditions (e.g. for the completed and loaded fields), you have three possible options to specify the value:

time deltas in the form “<number><unit>...”, where unit is a single upper- or lower-case letter and one of Year, Month, Week, Day, Hour, mInute, or Second. The order is important (y before m), and a + before the delta means older than, while - means younger than.

from pyrosimple.

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.