Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NowFunc = time.Now
NowFunc is used to get the current time. It defaults to time.Now, but can be overridden in tests.
View Source
var UserHomeDirFunc = os.UserHomeDir
UserHomeDirFunc is used to get the user's home directory. It defaults to os.UserHomeDir but can be overridden in tests.
Functions ¶
func FormatDate ¶
FormatDate formats given date as Django's format date style (most of them). https://docs.djangoproject.com/en/5.1/ref/templates/builtins/#date
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.