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.

Indicate yesterday/tomorrow in `user-local-time`

See original GitHub issue

Would it be possible to add something like (Yesterday) or (Tomorrow) if the user’s local time is a different day than my own?

Btw, user-local-time is definitely one of my favorite rgh features!! ❤️

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
fregantecommented, May 2, 2021

I’d like it if it showed their GMT offset - my GMT offset, so in this case (+7) - (-4) = +11.

This is probably why we avoided placing a number there, it was just confusing and “relative”. If we put “+11” is it relative to me or relative to GMT?

If we show the day of the week it avoids any ambiguity.

1reaction
yakov116commented, May 2, 2021

or the day of the week, so “10:00 PM Friday”

I like this one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python: Print yesterday, today, tomorrow
Write a Python program to print yesterday, today, tomorrow. Sample Solution: Python Code: import datetime today = datetime.date.today() ...
Read more >
how get yesterday and tomorrow datetime in c# - ...
Your yesterday is "24 hours ago". Use DateTime.Today to undicate a Day in a std way. – Henk. Nov 20, 2011 at 19:20....
Read more >
NotesDateTime (LotusScript)
When you create a new DateTime object using an expression such as "Today," "Tomorrow" or "Yesterday," the value of the date is determined...
Read more >
Date and time expressions - AppSheet Help
TODAY() for the current Date on the user's device. Equivalent to DATE(NOW()) . See also DATE() . UTCNOW() for the current DateTime with...
Read more >
Working with dates and timezones in JavaScript: a survival ...
JavaScript's internal representation uses the “universal” UTC time but by the time the date/time is displayed, it has probably been localized ...
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