Date separator logic for older messages
See original GitHub issueIf you have older messages not loaded/rendered (i.e. “Show more” button is visible), the date separator is displayed below the Show more...
button, even if the older messages are the same date as rendered ones.
@PolarizedIons thinks this is a benefit, I disagree - would like to hear others opinions
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
SQL date format Overview; DateDiff SQL function, DateAdd ...
This article gives an overview of various SQL Date Format with useful functions DATEPART SQL, DATENAME SQL and DATEDIFF SQL functions along ...
Read more >Easy Date Formatting With Liquid - Customer.io
Easy Date Formatting With Liquid ... Personalizing your messages with Liquid can increase conversions and build stronger customer loyalty.
Read more >How do I display the calendar date on the top of chat messages?
In your onclick listener, you test that the last stored date is todays date, if it's not, it is converted into a chatmessage,...
Read more >SORT DATE Functions with Examples - Tech Agilist
Using SORT DATE Functions you can dynamically insert the date, like 'yyyy-mm-dd' or any format instead of a constant date like '2021-01-01'.
Read more >Fun with dates and times - IBM Developer
To get the current date, time, and timestamp using SQL, reference the appropriate DB2 registers: SELECT current date FROM sysibm.sysdummy1 SELECT current ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This was by design choice, since you’d want to know what date the messages at the top of the page was, no matter if the messages ‘before’ the older messages button was the same date. It is removed automaticly when the show more button is pressed
I’m open to it if you guys have diffrent opinions on it, just explaining why it was done
@MaxLeiter Yeah, I understand what you are saying, and I understand the confusion that it is because the date separator should be the first thing in the day showing.
However, I thought I would look at how slack does it (out of interest). And (for the split second that you are at the top, before it loads more messages, like we want to do in #207), it shows the date separator at the top. So…I would say we leave it as is, personally.