Skip to content

Commit

Permalink
final changes for v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tbrowder committed Feb 12, 2019
1 parent ab4caa5 commit e7e083e
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 16 deletions.
13 changes: 9 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
## [v1.0.4]
## [v1.1.0]
- Change description in META6.json file.
- Merged PRs () from @moritz (German three-letter abbreviaitons, Norwegian).
- Merged PR () from @sena_kun (AKA @Altai-man) (Russian).
- French data from @luc.
- Merged PRs from @moritz (German three-letter abbreviaitons, Norwegian).
- Merged PR from @sena_kun (AKA @Altai-man) (Russian).
- French data from @lucs.
- Merged PR from @lizmat (Dutch)
- Started a class (Date::Names) to handle the names, with a lited set
of working tests for now.
- Updated README.
- Split hashes into separate modules to facilitate the new class.

## [v1.0.3] - 2019-02-10
- Move version number to top of META6.json file.
Expand Down
2 changes: 1 addition & 1 deletion META6.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version" : "1.0.4",
"version" : "1.1.0",
"auth" : "github:tbrowder",
"author" : "github:tbrowder",
"authors" : [
Expand Down
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ Language | %mon2 | %mon3 | %mona | %dow2 | %dow3 | %dowa
Dutch | | Y | | Y | Y |
English | | Y | | Y | Y |
French | Y* | | Y | | Y | Y
German | | Y | | | |
German | | Y | | Y | |
Italian | | | | | |
Norwegian| | | | | |
Russian | | Y | | | | Y
Spanish | | Y* | | | Y* |
Russian | | Y | | Y | | Y
Spanish | | Y* | | Y | Y* |

PULL REQUESTS
=============
Expand All @@ -108,24 +108,26 @@ CORRECTIONS & SUGGESTIONS
=========================

The goal of this module is to be useful to non-English users as well
as English users. The author welcomes suggestions for improvement
and increased utility.
as English users. The author welcomes suggestions for improvement and
increased utility.

VERSION 2 PLANS
===============

In work now is a class to ease use of the module:

~~~perl6
```perl6
perl6
use Date::Names;
my $dn = Date::Names.new(
:lang<en>,
:day-hash<dow2>,
:mon-hash<mon3>,
);
is $dn.dow(1), "Mo";
is $dn.mon(1), "Jan";
~~~
is $dn.dow(1), "Mo"; # ok
is $dn.mon(1), "Jan"; # ok

```

The basic class is working and is tested briefly. More is to be done,
but eventually it will be able to proved a unified handling of full
Expand Down
4 changes: 2 additions & 2 deletions lib/Date/Names/es.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ constant $dow2 = %(

constant $dow3 = %(
# Spanish
1, 'lun', 2, 'mar', 3, 'mié', 4, 'jue',
5, 'vie', 6, 'sáb', 7, 'dom'
1, 'lun', 2, 'mar', 3, 'mié', 4, 'jue',
5, 'vie', 6, 'sáb', 7, 'dom'
);

0 comments on commit e7e083e

Please sign in to comment.