Date and time information relative to current time #5
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When adding mock data that includes time it is often desired to have something that happens today, tomorrow, or somewhere relative to "now".
For example if I'm making some kind of calendar that displays this weeks events I would like something today at 08:00, tomorrow at 13:00, and so on. Right now it is only possible to specify fixed dates which would require a fixed clock in the system so it all makes sense. However with a fixed clock it is not possible test stuff that requires time to pass.
If there was some placeholder that can be used to set the following;
Possible placeholders;
{datetime+2d4h30m}{datetime+2d@13:00}{date-4d}