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.

Document how to use $0 in filters

See original GitHub issue

How do I filter by a date?

I am trying:

.filtered(`workoutDate = "${workoutDate}"`)

and

.filtered(`workoutDate = ${workoutDate.getTime()}`)

but I get You must pass in a date argument to compare

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

15reactions
cancan101commented, Apr 4, 2016

This worked:

.filtered('workoutDate = $0', workoutDate)};
3reactions
MihaelIsaevcommented, Dec 28, 2017

Can someone add an example with $0 to the official docs?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Filter data in a range or table - Microsoft Support
When you put your data in a table, filter controls are automatically added to the table headers. ... Uncheck (Select All) and select...
Read more >
FILTER function - Microsoft Support
How to use the FILTER function in Excel to filter a range of data based on criteria you define.
Read more >
Filtering in the Document View - PTC Support
Filters items by visible text in the Document view. Type the text that you want to filter by. The list of items is...
Read more >
Why does Array.filter(Number) filter zero out in JavaScript?
It's because 0 is a falsy value which returns false, and anything that returns false to the filter function is filtered ...
Read more >
FILTER function - Google Docs Editors Help
- [ OPTIONAL ] - Additional rows or columns containing boolean values TRUE or FALSE indicating whether the corresponding row or column in...
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