Skip to content

Instantly share code, notes, and snippets.

View wottpal's full-sized avatar

Dennis Zoma wottpal

View GitHub Profile
@wottpal
wottpal / date-formats.ts
Created April 18, 2019 15:10
Custom DateFormats & DateAdapter for Angular Material MatDatepicker using Day.js
import { Platform } from '@angular/cdk/platform';
import { NativeDateAdapter } from '@angular/material';
import * as dayjs from 'dayjs';
import 'dayjs/locale/de';
import * as customParseFormat from 'dayjs/plugin/customParseFormat';
import * as localizedFormat from 'dayjs/plugin/localizedFormat';
/**
* Custom Date-Formats and Adapter (using https://github.com/iamkun/dayjs)
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Merge Branch
on:
workflow_dispatch:
jobs:
merge:
name: Merge Branch
runs-on: ubuntu-latest
{
"name": "SEO Articles to Github Publish Workflow",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "e4e6a932-b0a7-4434-9fa9-ac63500743ac",
"authentication": "headerAuth",
"options": {}
},