https://github.com/angular/angular
Raw File
Tip revision: f2dbf8663e2e9d1a68b4d4257640dceb2949a2e6 authored by Paul Gschwendtner on 24 June 2021, 14:12:12 UTC
build: update bazel nodejs fetch urls to fix 404 error (#42646)
Tip revision: f2dbf86
current-date.ts
import { InjectionToken } from '@angular/core';

export const CurrentDateToken = new InjectionToken('CurrentDate');
export function currentDateProvider() { return new Date(); }
back to top