Skip to content

Commit

Permalink
Version v1.4.2 released with fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
GramThanos committed Feb 3, 2018
1 parent 72b6f3b commit dde389c
Show file tree
Hide file tree
Showing 10 changed files with 65 additions and 57 deletions.
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog
All jsCalendar changes will be documented in this file.
All jsCalendar changes are documented in this file.

## [1.4.2] - 2018-02-03

### Fixed
- Fixed date format bugs and added "day" keyword
- Before fix
- `javascript jsCalendar.tools.dateToString(new Date(2017, 11, 1), "month day", "en");`
- `// returns "1eceDber Fay" (D = 1, m = D, d = F)`
- After fix
- `javascript jsCalendar.tools.dateToString(new Date(2017, 11, 1), "month day", "en");`
- `// returns "December Friday"`
- Fixed no zero fill for day 9 with format DD




## [1.4.1] - 2018-01-01

Expand Down
17 changes: 5 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[![latest release](https://img.shields.io/badge/latest%20release-v1.4.1-green.svg?style=flat-square)](https://github.com/GramThanos/jsCalendar/releases/latest)
[![latest development](https://img.shields.io/badge/latest%20development-v1.4.2-yellow.svg?style=flat-square)](https://github.com/GramThanos/jsCalendar#whats-new)
[![latest release](https://img.shields.io/badge/latest%20release-v1.4.2-green.svg?style=flat-square)](https://github.com/GramThanos/jsCalendar/releases/latest)
[![latest development](https://img.shields.io/badge/latest%20development-v1.4.3-yellow.svg?style=flat-square)](https://github.com/GramThanos/jsCalendar#whats-new)

# jsCalendar
Just a simple javascript calendar

[Download](https://github.com/GramThanos/jsCalendar/releases/download/v1.4/jsCalendar_v1.4.zip)[Live preview](https://gramthanos.github.io/jsCalendar/)[Documentation](https://gramthanos.github.io/jsCalendar/docs.html)[Languages](https://gramthanos.github.io/jsCalendar/docs.html#parameter-language)
[Download](https://github.com/GramThanos/jsCalendar/releases/download/v1.4.2/jsCalendar_v1.4.2.zip)[Live preview](https://gramthanos.github.io/jsCalendar/)[Documentation](https://gramthanos.github.io/jsCalendar/docs.html)[Languages](https://gramthanos.github.io/jsCalendar/docs.html#parameter-language)

![preview image](preview/preview_default.png)

Expand Down Expand Up @@ -66,16 +66,9 @@ ___

### Whats new?

#### Latest development code v1.4.2
#### Latest development code v1.4.3

- Fixed date format bugs and added "day" keyword
- Before fix
- `javascript jsCalendar.tools.dateToString(new Date(2017, 11, 1), "month day", "en");`
- `// returns "1eceDber Fay" (D = 1, m = D, d = F)`
- After fix
- `javascript jsCalendar.tools.dateToString(new Date(2017, 11, 1), "month day", "en");`
- `// returns "December Friday"`
- Fixed no zero fill for day 9 with format DD
- No changes for now


___
Expand Down
4 changes: 2 additions & 2 deletions source/jsCalendar.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*
* jsCalendar v1.4.1
* jsCalendar v1.4.2
*
*
* MIT License
*
* Copyright (c) 2017 Grammatopoulos Athanasios-Vasileios
* Copyright (c) 2018 Grammatopoulos Athanasios-Vasileios
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions source/jsCalendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* MIT License
*
* Copyright (c) 2017 Grammatopoulos Athanasios-Vasileios
* Copyright (c) 2018 Grammatopoulos Athanasios-Vasileios
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -1059,7 +1059,7 @@ var jsCalendar = (function(){

// Options - Data type
if (options.type && typeof options.type === "string") {
var i;
var i;
// Convert to date object
if (options.type.toLowerCase() === "date"){
for (i = dates.length - 1; i >= 0; i--) {
Expand Down
4 changes: 2 additions & 2 deletions source/jsCalendar.min.css

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

68 changes: 34 additions & 34 deletions source/jsCalendar.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/jsCalendar.clean.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* MIT License
*
* Copyright (c) 2017 Grammatopoulos Athanasios-Vasileios
* Copyright (c) 2018 Grammatopoulos Athanasios-Vasileios
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion themes/jsCalendar.clean.min.css

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

2 changes: 1 addition & 1 deletion themes/jsCalendar.darkseries.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* MIT License
*
* Copyright (c) 2017 Grammatopoulos Athanasios-Vasileios
* Copyright (c) 2018 Grammatopoulos Athanasios-Vasileios
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion themes/jsCalendar.darkseries.min.css

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

0 comments on commit dde389c

Please sign in to comment.