question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Filter "created" does not output date and time

See original GitHub issue

Hello all, In my config I try to rename the files with the filter “created” and move them to a certain folder.

Unfortunately, no values are output in the variables used.

VID-{created.year}{created.month}{created.day}.{created.hour}-{created.minutes}.{extension.lower}

VID-.-.<built-in method lower of str object at 0xb65aad00>

The file name should then look like this: Example: VID-20220210-06-20.mp4

here my config:

  - locations:
      - *downloads
    filters:
      - extension:
          - mp4
          - avi
          - mpeg
          - mpg
          - mov
          - mkv
          - flv
          - m4v
          - 3gp
          - wmv
      - name:
          case_sensitive: false
      - created
    actions:
      - move: '/srv/mergerfs/Pool/Videos/VID-{created.year}{created.month}{created.day}.{created.hour}-{created.minutes}.{extension.lower}'  
    subfolders: false

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
wintuxxcommented, Feb 10, 2022

Now it works! Thx for your kind support.

By the way, i love your tool.

0reactions
tfeldmanncommented, Feb 10, 2022

Thank you! 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Filter on time but not date - Microsoft Power BI Community
Objective: I want to filter based on only time, for example, I want to display how many bookings that have been made between...
Read more >
Excel Not Grouping Dates in Filters? How to Fix It!
Grouping dates in filters does not work? So, dates are not summarized by year, month and day? Here are the reasons and how...
Read more >
Datetime and date == filters does not work as expected #1242
When the datetime is input in a correct format, the filter doesn't work because the == match does not work. Using > or...
Read more >
Filter between date and time - Excel - Microsoft Tech Community
I have an Excel spreadsheet with a large number of entries. There is a Date/Time column in the following format: mm/dd/yyyy hh:mm. I...
Read more >
The ability to have Date & Time appear in the filter column ...
In order to view the time as well, you will need to hover on the "Created/Updated" column in the filter in order to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found