English | [绠�浣撲腑鏂嘳(./docs/zh-cn/README.zh-CN.md) | [鏃ユ湰瑾瀅(./docs/ja/README-ja.md) | [Portugu锚s Brasileiro](./docs/pt-br/README-pt-br.md) | [頃滉淡鞏碷(./docs/ko/README-ko.md) | [Espa帽ol (Espa帽a)](./docs/es-es/README-es-es.md) | [袪褍褋褋泻懈泄](./docs/ru/README-ru.md) | [T眉rk莽e](./docs/tr/README-tr.md)
<p align="center"><a href="https://day.js.org/" target="_blank" rel="noopener noreferrer"><img width="550"
src="https://user-images.githubusercontent.com/17680888/39081119-3057bbe2-456e-11e8-862c-646133ad4b43.png"
alt="Day.js"></a></p>
<p align="center">Fast <b>2kB</b> alternative to Moment.js with the same modern API</p>
<p align="center">
<a href="https://unpkg.com/dayjs/dayjs.min.js"><img
src="https://img.badgesize.io/https://unpkg.com/dayjs/dayjs.min.js?compression=gzip&style=flat-square"
alt="Gzip Size"></a>
<a href="https://www.npmjs.com/package/dayjs"><img src="https://img.shields.io/npm/v/dayjs.svg?style=flat-square&colorB=51C838"
alt="NPM Version"></a>
<a href="https://travis-ci.com/iamkun/dayjs"><img
src="https://img.shields.io/travis/iamkun/dayjs/master.svg?style=flat-square" alt="Build Status"></a>
<a href="https://codecov.io/gh/iamkun/dayjs"><img
src="https://img.shields.io/codecov/c/github/iamkun/dayjs/master.svg?style=flat-square" alt="Codecov"></a>
<a href="https://github.com/iamkun/dayjs/blob/master/LICENSE"><img
src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square" alt="License"></a>
<br>
<a href="https://saucelabs.com/u/dayjs">
<img width="750" src="https://user-images.githubusercontent.com/17680888/40040137-8e3323a6-584b-11e8-9dba-bbe577ee8a7b.png" alt="Sauce Test Status">
</a>
</p>
> Day.js is a minimalist JavaScript library that parses, validates, manipulates, and displays dates and times for modern browsers with a largely Moment.js-compatible API. If you use Moment.js, you already know how to use Day.js.
```js
dayjs().startOf('month').add(1, 'day').set('year', 2018).format('YYYY-MM-DD HH:mm:ss');
```
* 馃晵 Familiar Moment.js API & patterns
* 馃挭 Immutable
* 馃敟 Chainable
* 馃寪 I18n support
* 馃摝 2kb mini library
* 馃懌 All browsers supported
---
## 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](https://day.js.org/docs/en/installation/installation)
### API
It's easy to use Day.js APIs to parse, validate, manipulate, and display dates and times.
```javascript
dayjs('2018-08-08') // parse
dayjs().format('{YYYY} MM-DDTHH:mm:ss SSS [Z] A') // display
dayjs().set('month', 3).month() // get & set
dayjs().add(1, 'year') // manipulate
dayjs().isBefore(dayjs()) // query
```
馃摎[API Reference](https://day.js.org/docs/en/parse/parse)
### I18n
Day.js has great support for internationalization.
But none of them will be included in your build unless you use it.
```javascript
import 'dayjs/locale/es' // load on demand
dayjs.locale('es') // use Spanish locale globally
dayjs('2018-05-05').locale('zh-cn').format() // use Chinese Simplified locale in a specific instance
```
馃摎[Internationalization](https://day.js.org/docs/en/i18n/i18n)
### Plugin
A plugin is an independent module that can be added to Day.js to extend functionality or add new features.
```javascript
import advancedFormat from 'dayjs/plugin/advancedFormat' // load on demand
dayjs.extend(advancedFormat) // use plugin
dayjs().format('Q Do k kk X x') // more available formats
```
馃摎[Plugin List](https://day.js.org/docs/en/plugin/plugin)
## Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
[[Become a sponsor via Github](https://github.com/sponsors/iamkun/)] [[Become a sponsor via OpenCollective](https://opencollective.com/dayjs#sponsor)]
<a href="https://www.exoflare.com/open-source/?utm_source=dayjs&utm_campaign=open_source" target="_blank">
<img width="70" src="https://user-images.githubusercontent.com/17680888/162761622-1407a849-0c41-4591-8aa9-f98114ec2092.png">
</a>
<a href="https://github.com/vendure-ecommerce" target="_blank"><img width="70" src="https://avatars.githubusercontent.com/u/39629390?s=52&v=4"></a>
<a href="https://github.com/Velc" target="_blank"><img width="70" src="https://avatars.githubusercontent.com/u/1551649?s=52&v=4"></a>
<a href="https://github.com/projectdiscovery" target="_blank"><img width="70" src="https://avatars.githubusercontent.com/u/50994705?s=52&v=4"></a>
<a href="https://opencollective.com/datawrapper" target="_blank"><img width="70" src="https://images.opencollective.com/datawrapper/c13e229/logo.png"></a>
## Contributors
This project exists thanks to all the people who contribute.
Please give us a 馃挅 star 馃挅 to support us. Thank you.
And thank you to all our backers! 馃檹
<a href="https://opencollective.com/dayjs/backer/0/website?requireActive=false" target="_blank"><img src="https://opencollective.com/dayjs/backer/0/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/1/website?requireActive=false" target="_blank"><img src="https://opencollective.com/dayjs/backer/1/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/2/website?requireActive=false" target="_blank"><img src="https://opencollective.com/dayjs/backer/2/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs/backer/3/website?requireActive=false" target="_blank"><img src="https://opencollective.com/dayjs/backer/3/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/dayjs#backers" target="_blank"><img src="https://opencollective.com/dayjs/contributors.svg?width=890" /></a>
## License
Day.js is licensed under a [MIT License](./LICENSE).
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随时与博主沟通,第一时间进行解答!该资源内项目代码都经过测试运行成功,功能ok的情况下才上传的,请放心下载使用!有问题请及时沟通交流。 基于STM32、ESP8266、PHP、QT、应用软件开发、系统软件开发、移动应用开发、网站开发C++、Java、python、web、C#、单片机、EDA、proteus、RTOS、包括计算机硬件、服务器、网络设备、存储设备、移动设备、LInux、IOS、树莓派、安卓开发、微机操作系统、网络操作系统、分布式操作系统等。此外,还有嵌入式操作系统、智能操作系统等、数据集、大数据分析、人工智能、机器学习等各种项目 项目具有较高的学习借鉴价值,也适用于小白学习入门进阶。当然也可作为毕设项目、课程设计、大作业、初期项目立项演示等。如果基础还行,或者热爱钻研,亦可在此项目代码基础上进行修改添加,实现其他不同功能。欢迎下载,沟通交流,互相学习,共同进步!
资源推荐
资源详情
资源评论
收起资源包目录
毕设&课设&项目&实训-基于Micro python的ESP8266一键配网代码.zip (840个子文件)
mainweb.css 123KB
noNvue.css 111KB
nvue.css 99KB
mainweb.min.css 94KB
tmicon.css 62KB
iconfont.css 62KB
tmicon.min.css 59KB
demo.css 8KB
.editorconfig 78B
demo_index.html 328KB
index.html 404B
qrcode.jpg 12KB
vendor.js 282KB
iconfont.js 189KB
crender.min.js 96KB
vendor.js 90KB
crender.class.js 52KB
RenderingContext.js 36KB
graphs.js 29KB
tm-input.js 21KB
RenderingContext.js 17KB
path2d.js 16KB
path2d.js 16KB
theme.js 15KB
style.class.js 12KB
index.js 12KB
clipboardJS.js 11KB
bezierCurveToPolyline.js 10KB
tm-input.js 10KB
graph.class.js 10KB
tm-button.js 9KB
util.js 9KB
index.js 9KB
index.js 9KB
GLenum.js 8KB
tm-sheet.js 8KB
tm-image.js 8KB
tm-translate.js 8KB
index.js 8KB
theme.js 8KB
bridge-weex.js 7KB
tm-message.js 7KB
index.js 7KB
minxs.js 6KB
dayjs.min.js 6KB
util.js 6KB
index.js 6KB
tm-icon.js 6KB
tm-form-item.js 6KB
tm-app.js 6KB
tm-form.js 5KB
index.js 5KB
tm-overlay.js 5KB
tm-collapse-item.js 5KB
colortool.js 5KB
tm-divider.js 5KB
duration.js 5KB
tm-button.js 4KB
GLmethod.js 4KB
curves.js 4KB
index.js 4KB
keywords.js 4KB
tm-text.js 4KB
tm-sheet.js 4KB
tmpinia.js 4KB
tm-image.js 4KB
customParseFormat.js 4KB
index.js 4KB
tm-translate.js 4KB
polylineToBezierCurve.js 3KB
tm-message.js 3KB
minxs.js 3KB
ru.js 3KB
sk.js 3KB
cs.js 3KB
util.js 3KB
sr-cyrl.js 3KB
tm-app.js 3KB
uk.js 3KB
bn-bd.js 3KB
tm-form-item.js 3KB
tm-icon.js 3KB
index.js 3KB
fi.js 3KB
tm-form.js 3KB
index.js 3KB
bn-bd.js 3KB
ring.js 2KB
sr.js 2KB
tm-overlay.js 2KB
tm-collapse-item.js 2KB
sr-cyrl.js 2KB
bo.js 2KB
tm-divider.js 2KB
ru.js 2KB
is.js 2KB
bn.js 2KB
utc.js 2KB
index.js 2KB
uk.js 2KB
共 840 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
资源评论
妄北y
- 粉丝: 1w+
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 学校课程软件工程常见10道题目以及答案demo
- javaweb新手开发中常见的目录结构讲解
- 新手小白的git使用的手册入门学习demo
- 基于Java观察者模式的info-express多对多广播通信框架设计源码
- 利用python爬取豆瓣电影评分简单案例demo
- 机器人开发中常见的几道问题以及答案demo
- 基于SpringBoot和layuimini的简洁美观后台权限管理系统设计源码
- 实验报告五六代码.zip
- hdw-dubbo-ui基于vue、element-ui构建开发,实现后台管理前端功能.zip
- (Grafana + Zabbix + ASP.NET Core 2.1 + ECharts + Dapper + Swagger + layuiAdmin)基于角色授权的权限体系.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功