Skip to content

Commit ae2c700

Browse files
Cleanup (#24)
This pull request introduces minor documentation improvements and cleanup. The most notable changes are: Documentation improvements: * Added a new `.EXAMPLE` section to the comment-based help in `Get-CurrentDateTime.ps1`, demonstrating how to use the `-Format` and `-CustomFormat` parameters for custom date formatting. Configuration cleanup: * Removed the `.github/release.yml` file, which contained configuration for automatically generated release notes.
1 parent 03d9469 commit ae2c700

2 files changed

Lines changed: 5 additions & 18 deletions

File tree

.github/release.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/functions/public/Get-CurrentDateTime.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
1818
Returns the current date in short date format.
1919
20+
.EXAMPLE
21+
Get-CurrentDateTime -Format 'Custom' -CustomFormat 'dddd, MMMM dd, yyyy'
22+
23+
Returns the current date in a custom format like "Monday, January 20, 2026".
24+
2025
.LINK
2126
https://MariusStorhaug.github.io/MariusTestModule/Functions/Get-CurrentDateTime/
2227
#>

0 commit comments

Comments
 (0)