samples/datetime-extensions.json

1
2
3
4
5
6
7
{
    "MemberType": "ScriptMethod",
    "MemberName": "ConvertCulture",
    "Value": "Param ([string]$culture)\r\n\r\n\"{0:$([cultureinfo]::GetCultureInfo(\"$culture\").DateTimeFormat.fulldatetimepattern)}\" -f $this",
    "TypeName": "System.DateTime"
}