Skip to content

Commit

Permalink
v1.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhitsolutions committed May 11, 2020
1 parent 60f965f commit 4e9f834
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
4 changes: 2 additions & 2 deletions PSCalendar.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
RootModule = 'PSCalendar.psm1'

# Version number of this module.
ModuleVersion = '1.10.0'
ModuleVersion = '1.11.0'

# Supported PSEditions
CompatiblePSEditions = @("Desktop", "Core")
Expand Down Expand Up @@ -46,7 +46,7 @@
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
# RequiredModules = @()
RequiredModules = @("ThreadJob")

# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()
Expand Down
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ You can install this module from the PowerShell Gallery.
Install-Module PSCalendar [-scope currentuser]
```

It has been tested on PowerShell Core both under Windows and Linux and there is no reason these commands should not work, except for [Show-GuiCalendar](docs/Show-GuiCalendar.md).
> Installing this module will also install the `ThreadJob` module from the PowerShell Gallery as that is module dependency if you want to use `Show-GuiCalendar`.
It has been tested on PowerShell 7 both under Windows and Linux and there is no reason these commands should not work, except for [Show-GuiCalendar](docs/Show-GuiCalendar.md) which requires a Windows platform.

## [Get-Calendar](docs/Get-Calendar.md)

Expand Down Expand Up @@ -64,13 +66,13 @@ One way you might want to use this is in your PowerShell console. You can use pr

```powershell
#requires -modules @{ModuleName="PSCalendar";ModuleVersion="1.10.0"}
#requires -modules @{ModuleName="PSCalendar";ModuleVersion="1.10.0"}
Function prompt {
#define a buffercell fill
$fill = [system.management.automation.host.buffercell]::new(" ",$host.ui.RawUI.BackgroundColor,$host.ui.RawUI.BackgroundColor,"complete")
#define a rectangle with an upper left corner X distance from the edge
$left =$host.ui.RawUI.WindowSize.width - 42
Expand Down Expand Up @@ -109,6 +111,6 @@ Note that any command output may be truncated because of the calendar display. T

## Potential Issues

I have tried to make this module culture aware. Testing across cultures is not an easy process. If you encounter a problem and are not running PowerShell under the EN-US culture, run the command you are trying to use with -Verbose and post the results in a new issue.
I have tried to make this module culture aware. Testing across cultures is not an easy process. If you encounter a problem and are not running PowerShell under the `EN-US` culture, run the calendar command you are trying to use with `-Verbose` and post the results in a new issue.

last updated 2020-01-30 20:05:00Z UTC
last updated 2020-05-11 12:59:13Z UTC
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log for PSCalendar

## v1.11.0

+ Add `ThreadJob` as a required module. (Issue #19)

## v1.10.0

+ Fixed cursor positioning in `Show-Calendar`
Expand Down
File renamed without changes.

0 comments on commit 4e9f834

Please sign in to comment.