Skip to content

Commit

Permalink
Merge pull request #803 from iamkun/dev
Browse files Browse the repository at this point in the history
D2M
  • Loading branch information
iamkun committed Feb 26, 2020
2 parents 0c385e1 + 0146169 commit 36f528f
Show file tree
Hide file tree
Showing 36 changed files with 610 additions and 46 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,17 @@ dayjs().startOf('month').add(1, 'day').set('year', 2018).format('YYYY-MM-DD HH:m

## Getting Started

### Documentation

You can find for more details, API, and other docs on [day.js.org](https://day.js.org/) website.

### Installation

```console
npm install dayjs --save
```

📚[Installation Guide](./docs/en/Installation.md)
📚[Installation Guide](https://day.js.org/docs/en/installation/installation)

### API

Expand All @@ -64,7 +68,7 @@ dayjs().add(1, 'year') // manipulate
dayjs().isBefore(dayjs()) // query
```

📚[API Reference](./docs/en/API-reference.md)
📚[API Reference](https://day.js.org/docs/en/parse/parse)

### I18n

Expand All @@ -79,7 +83,7 @@ dayjs.locale('es') // use Spanish locale globally

dayjs('2018-05-05').locale('zh-cn').format() // use Chinese Simplified locale in a specific instance
```
📚[Internationalization](./docs/en/I18n.md)
📚[Internationalization](https://day.js.org/docs/en/i18n/i18n)

### Plugin

Expand All @@ -93,7 +97,7 @@ dayjs.extend(advancedFormat) // use plugin
dayjs().format('Q Do k kk X x') // more available formats
```

📚[Plugin List](./docs/en/Plugin.md)
📚[Plugin List](https://day.js.org/docs/en/plugin/plugin)

## Sponsors

Expand Down
20 changes: 20 additions & 0 deletions docs/en/API-reference.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
### Notice

The document here **no longer** updates.

Please visit our website [https://day.js.org](https://day.js.org) for more information.

-------------

<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />


# API Reference

Instead of modifying the native `Date.prototype`, Day.js creates a wrapper for the Date object, called `Dayjs` object.
Expand Down
19 changes: 19 additions & 0 deletions docs/en/I18n.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
### Notice

The document here **no longer** updates.

Please visit our website [https://day.js.org](https://day.js.org) for more information.

-------------

<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />

## Internationalization

Day.js has great support for internationalization.
Expand Down
19 changes: 19 additions & 0 deletions docs/en/Installation.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
### Notice

The document here **no longer** updates.

Please visit our website [https://day.js.org](https://day.js.org) for more information.

-------------

<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />

## Installation Guide

You have multiple ways of getting Day.js:
Expand Down
19 changes: 19 additions & 0 deletions docs/en/Plugin.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
### Notice

The document here **no longer** updates.

Please visit our website [https://day.js.org](https://day.js.org) for more information.

-------------

<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />

# Plugin List

A plugin is an independent module that can be added to Day.js to extend functionality or add new features.
Expand Down
19 changes: 19 additions & 0 deletions docs/es-es/API-reference.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
### Notice

The document here **no longer** updates.

Please visit our website [https://day.js.org](https://day.js.org) for more information.

-------------

<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />

# Referencia de la API

En lugar de modificar el `Date.prototype` nativo, Day.js construye una abstracción sobre el objeto `Date`: el objeto `Dayjs`.
Expand Down
19 changes: 19 additions & 0 deletions docs/es-es/I18n.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
### Notice

The document here **no longer** updates.

Please visit our website [https://day.js.org](https://day.js.org) for more information.

-------------

<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />

# Internacionalización

Day.js soporta muy bien la internacionalización.
Expand Down
19 changes: 19 additions & 0 deletions docs/es-es/Installation.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
### Notice

The document here **no longer** updates.

Please visit our website [https://day.js.org](https://day.js.org) for more information.

-------------

<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />

# Guía de instalación

Tienes a tu disposición varias opciones para obtener y utilizar Day.js:
Expand Down
19 changes: 19 additions & 0 deletions docs/es-es/Plugin.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
### Notice

The document here **no longer** updates.

Please visit our website [https://day.js.org](https://day.js.org) for more information.

-------------

<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />

# Lista de complementos

Un complemento o _plugin_ es un módulo independiente que puede añadirse a Day.js para extender su funcionalidad o añadir nuevas características.
Expand Down
12 changes: 8 additions & 4 deletions docs/es-es/README-es-es.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,17 @@ dayjs()

# Primeros pasos

### Documentation

You can find for more details, API, and other docs on [day.js.org](https://day.js.org/) website.

## Instalación

```console
npm install dayjs --save
```

📚[Guía de instalación](./Installation.md)
📚[Guía de instalación](https://day.js.org/docs/en/installation/installation)

## API

Expand All @@ -68,7 +72,7 @@ dayjs().add(1, 'year') // manipula
dayjs().isBefore(dayjs()) // consulta
```

📚[Referencia de la API](./API-reference.md)
📚[Referencia de la API](https://day.js.org/docs/en/parse/parse)

## I18n

Expand All @@ -86,7 +90,7 @@ dayjs('2018-05-05')
.format() // usar el chino simplificado en una instancia concreta
```

📚[Internacionalización](./I18n.md)
📚[Internacionalización](https://day.js.org/docs/en/i18n/i18n)

## Complementos

Expand All @@ -100,7 +104,7 @@ dayjs.extend(advancedFormat) // uso del complemento
dayjs().format('Q Do k kk X x') // ahora tenemos más formatos disponibles
```

📚[Lista de complementos](./Plugin.md)
📚[Lista de complementos](https://day.js.org/docs/en/plugin/plugin)

## Patrocinadores

Expand Down
19 changes: 19 additions & 0 deletions docs/ja/API-reference.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
### Notice

The document here **no longer** updates.

Please visit our website [https://day.js.org](https://day.js.org) for more information.

-------------

<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />

## API Reference

Day.js は組み込みの `Date.prototype` を変更する代わりに `Dayjs` オブジェクトと呼ばれる Date オブジェクトのラッパーを作成します。
Expand Down
19 changes: 19 additions & 0 deletions docs/ja/I18n.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
### Notice

The document here **no longer** updates.

Please visit our website [https://day.js.org](https://day.js.org) for more information.

-------------

<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />

## 国際化

Day.js は国際化を手厚くサポートしています。
Expand Down
19 changes: 19 additions & 0 deletions docs/ja/Installation.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
### Notice

The document here **no longer** updates.

Please visit our website [https://day.js.org](https://day.js.org) for more information.

-------------

<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />

## インストールガイド

複数の方法で Day.js を使用することができます
Expand Down
19 changes: 19 additions & 0 deletions docs/ja/Plugin.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
### Notice

The document here **no longer** updates.

Please visit our website [https://day.js.org](https://day.js.org) for more information.

-------------

<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />

# プラグインリスト

プラグインとは、 Day.js の機能を拡張したり、新たな機能を追加するための独立したモジュールのことです。
Expand Down

0 comments on commit 36f528f

Please sign in to comment.