Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sentsim committed Mar 21, 2021
1 parent bfc0c1b commit d58c43b
Show file tree
Hide file tree
Showing 7 changed files with 268 additions and 286 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

## 概要
全面重写的 layDate 包含了大量的更新,其中主要以:年选择器、年月选择器、日期选择器、时间选择器、日期时间选择器 五种类型的选择方式为基本核心,并且均支持范围选择(即双控件)。内置强劲的自定义日期格式解析和合法校正机制,含中文版和国际版,主题简约却又不失灵活多样。由于内部采用的是零依赖的原生 JavaScript 编写,因此又可作为独立组件使用。毫无疑问,这是 layui 的虔心之作
一款被广泛使用的高级 Web 日历组件,颜值与功能兼备,足以应对日期相关的各种业务场景。其中主要以:年选择器、年月选择器、日期选择器、时间选择器、日期时间选择五种类型的选择方式为基本核心,并且均支持范围选择(即双控件)。内置强劲的自定义日期格式解析和合法校正机制,含中文版和国际版,主题简约却又不失灵活多样。内部采用是零依赖的原生 JavaScript 编写,可作为独立组件使用

## 官网
[http://www.layui.com/laydate/](http://www.layui.com/laydate/)

## 相关
[文档](http://www.layui.com/doc/modules/laydate.html)[社区](http://fly.layui.com)
[文档](http://www.layui.com/doc/modules/laydate.html)
4 changes: 2 additions & 2 deletions dist/laydate.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions dist/theme/default/laydate.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ var task = {
.pipe(minify({
compatibility: 'ie7'
}))
.pipe(header('/*! <%= pkg.realname %>-v<%= pkg.version %> <%= pkg.description %> <%= pkg.license %> License <%= pkg.homepage %> By <%= pkg.author %> */\n', {pkg: pkg}))
.pipe(gulp.dest('./dist'));

return gulp.src('./src/laydate.js').pipe(uglify())
.pipe(header('/*! <%= pkg.realname %>-v<%= pkg.version %> <%= pkg.description %> <%= pkg.license %> License <%= pkg.homepage %> By <%= pkg.author %> */\n ;', {pkg: pkg}))
.pipe(header('/*! <%= pkg.realname %> v<%= pkg.version %> | <%= pkg.description %> | The <%= pkg.license %> License */\n ;', {pkg: pkg}))
.pipe(gulp.dest('./dist'));

}
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "layui-laydate",
"realname": "laydate",
"version": "5.0.9",
"realname": "layDate",
"version": "5.1.0",
"description": "日期与时间组件",
"main": "src/laydate.js",
"license": "MIT",
Expand All @@ -12,8 +12,6 @@
"type": "https",
"url": "git+https://github.com/sentsin/laydate.git"
},
"author": "贤心",
"homepage": "http://www.layui.com/laydate/",
"devDependencies": {
"gulp": "^3.9.0",
"gulp-minify-css": "^1.2.4",
Expand Down
Loading

0 comments on commit d58c43b

Please sign in to comment.