mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
[PTRun][TimeDate]Unix Time in milliseconds, fix negative unix time input, error message improvement (#29149)
* add unix time in ms * update dev docs * unit tests * fix spell check * tool tip * fix negative unix time input, improve regex, update unit tests, improve error message * Update error handling and tests * add tests and fix spelling * small fixes
This commit is contained in:
@@ -36,6 +36,7 @@ namespace Microsoft.PowerToys.Run.Plugin.TimeDate.UnitTests
|
||||
[DataRow("now", "Now -", "Images\\timeDate.dark.png")]
|
||||
[DataRow("now u", "Now UTC -", "Images\\timeDate.dark.png")]
|
||||
[DataRow("unix", "Unix epoch time -", "Images\\timeDate.dark.png")]
|
||||
[DataRow("unix epoch time in", "Unix epoch time in milliseconds -", "Images\\timeDate.dark.png")]
|
||||
[DataRow("hour", "Hour -", "Images\\time.dark.png")]
|
||||
[DataRow("minute", "Minute -", "Images\\time.dark.png")]
|
||||
[DataRow("second", "Second -", "Images\\time.dark.png")]
|
||||
@@ -82,6 +83,7 @@ namespace Microsoft.PowerToys.Run.Plugin.TimeDate.UnitTests
|
||||
[DataRow("now", "Now -", "Images\\timeDate.light.png")]
|
||||
[DataRow("now u", "Now UTC -", "Images\\timeDate.light.png")]
|
||||
[DataRow("unix", "Unix epoch time -", "Images\\timeDate.light.png")]
|
||||
[DataRow("unix epoch time in", "Unix epoch time in milliseconds -", "Images\\timeDate.light.png")]
|
||||
[DataRow("hour", "Hour -", "Images\\time.light.png")]
|
||||
[DataRow("minute", "Minute -", "Images\\time.light.png")]
|
||||
[DataRow("second", "Second -", "Images\\time.light.png")]
|
||||
|
||||
Reference in New Issue
Block a user