Comments (4)
Looks like I tidied up the date logic a bit too much. Sorry.
Please can you give branch [devel/padding] a try.
Thanks
I've changed the rules so that:
- Plain:
%d
means this day (since midnight, local time) - Number:
%0d
means this day (since midnight, local time) - Number:
%1d
means in the last whole Day (24 hours) - Number:
%3d
means in the last 3 Days (72 hours)
Now I need to create some tests and clarify the docs.
NeoMutt running in three timezones: Los Angeles, London, Tokyo.
Each has a different view of which emails arrived "today".
from neomutt.
No worries. Yep, that branch fixes the issue, thanks for the extremely quick turnaround.
If I may make a suggestion, maybe you could leave the semantics of the %Nd
variable to mean "N days since midnight local time" for any number N (with the default %d
== %0d
), and introduce a separate %ND
variable to mean "N increments of 24 hours" (probably with the default %D
== %1D
in this case). The two definitions of "day" are distinct and have separate uses, so it could be useful to have both available.
If you think that would be too much, the current solution fixes the bug and works for me anyway.
from neomutt.
Great!
Thanks for the suggestions, I'll have a think (about how much more that'll be :-)
from neomutt.
Thinking about it for like another 30 seconds, you already have the %H
variable, so adding a second variable %D
that just multiplies that by 24 is kind of pointless. So probably %Nd
could just be "N days since midnight local time" and a user could specify %NH
with N = 24*x to go from hours to days ago.
from neomutt.
Related Issues (20)
- Do we need to handle <stddef.h> specially? HOT 1
- conditional format strings broken in 2024-04-25 HOT 8
- Duplicate gpg keys in key selection menu for message encryption HOT 18
- segfault while opening a mailbox in from the sidebar HOT 2
- Doubts about paranoic defensive programming style HOT 3
- C dialect HOT 2
- tag-prefix doesn't show-up in attach HOT 5
- Doubts about some `*const` pointers HOT 5
- How to use the notmuch command <modify-labels> to tag emails with tags containing spaces?
- Is it possible to edit the automatic title when forwarding or replying a message? HOT 1
- Progress for postponing a message with remote (IMAP)
- autocrypt breaks command line argument `-e "push foo"` HOT 4
- How to forward an email thread to someone else together with attachments ? HOT 3
- `delete-thread` does not support `tag-prefix` operator
- split outgoing email into batches to work around max number of recipients limit in some SMTP providers (infomaniak) HOT 3
- save-message from GMail over IMAP to local box doesn't delete original HOT 3
- Cannot open an .mbox file with neomutt (although it works with mutt) HOT 4
- neomutt truecolor and kitty
- neomutt does not replace `...` by encrypted subject
- Inline-PGP with junk before recognized incorrectly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neomutt.