|
|
|
|
|
by jandrese
222 days ago
|
|
> Relative dates like “Today” and “Tomorrow” can be easier to understand. This is one of those ideas that sounds like a good idea on paper, but can be an actual nightmare to implement. There are so many edge cases that can occur that you need to think about, especially once you get into cases like "this time next month". What if daylight savings time trips? What about time zones? What if it is January 31st and you want something a month from now? What if it is 12:05 at night and someone asks for 4PM tomorrow? You should think long and hard before offering relative time options in program. |
|