Skip to content

Commit

Permalink
feat: Reset to version 4 using dayjs with bugfixes, improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
danspam committed Aug 18, 2021
1 parent a49061e commit 5fa75e7
Show file tree
Hide file tree
Showing 429 changed files with 17,900 additions and 119,078 deletions.
30 changes: 30 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"presets": [["@babel/preset-env",
{
"modules": false,
"targets": {
"node": 6,
"browsers": [ ">0.25%", "not op_mini all" ]
},
"exclude": [
"@babel/plugin-transform-typeof-symbol"
]
}
]],
"env": {
"test": {
"presets": [["@babel/preset-env",
{
"targets":
{
"browsers": [
">0.25%", "not op_mini all"
]
},
"exclude": [
"@babel/plugin-transform-typeof-symbol"
]
}]]
}
}
}
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[{package.json,*.yml}]
indent_style = space
indent_size = 2
30 changes: 30 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"indent": [
"error",
4,
{ "SwitchCase": 1 }
],
"linebreak-style": [
"error",
"windows"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
],
"no-console": ["error", { "allow": ["warn", "error"] }]
}
}
62 changes: 0 additions & 62 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,63 +1 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary

###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
11 changes: 1 addition & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,2 @@
bower_components
node_modules
.idea
.vs
obj
bin
site
*.user
*.csproj
*.sln
*.nupkg
npm-debug.log
4 changes: 2 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/.gitignore
/node_modules
/Makefile
/test
/__tests__
*.log
*.swp
*~
Expand All @@ -13,4 +13,4 @@
*.user
*.csproj
*.sln
*.nupkg
*.nupkg
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
registry=https://pkgs.dev.azure.com/waywedo/_packaging/waywedo/npm/registry/

always-auth=true
9 changes: 0 additions & 9 deletions .travis.yml_

This file was deleted.

40 changes: 0 additions & 40 deletions CONTRIBUTING.md

This file was deleted.

5 changes: 0 additions & 5 deletions ISSUE_TEMPLATE

This file was deleted.

3 changes: 0 additions & 3 deletions PULL_REQUEST_TEMPLATE

This file was deleted.

21 changes: 6 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/R6R53OEFF)
# Bootstrap 3 Date/Time Picker

# Tempus Dominus Date/Time Picker v6.0.0-alpha
Date and time picker, forked and modified as original has been frozen.

Version 6 is a complex "coming when it's ready". You can read the very high level tasks that need to be done before it's ready [here](https://github.com/Eonasdan/bootstrap-datetimepicker/issues/2326).
## [Original manual and demos](http://eonasdan.github.io/bootstrap-datetimepicker/)


# Bootstrap 3 Date/Time Picker v4.17.47

The old bootstrap 3 version is no longer supported and issues/prs relating to this will be closed except for security vulerabilites etc. The code base for this is in the v4 branch.

## [View the v4 manual and demos](https://getdatepicker.com/4)

# Community

Need help or want to discuss the upcoming v6? Join [our discord](https://discord.gg/BHS9jw9YPf).

Please also take a look at the [discussions](https://github.com/Eonasdan/tempus-dominus/discussions). There are several RFCs (Request For Comment) open and you can help shape the future of the picker by participating in these discussions.
<div align="center">
Modified with ❤︎ by <a href="waywedo.com">Way We Do</a>
</div>
Loading

0 comments on commit 5fa75e7

Please sign in to comment.