Skip to content

Commit 5603baa

Browse files
authored
Merge pull request #305 from jama5262/Release-v6.4.0
Release v6.4.0
2 parents 948434b + aa9ef3d commit 5603baa

File tree

5 files changed

+28
-14
lines changed

5 files changed

+28
-14
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# 6.4.0
2+
3+
## What's Changed
4+
* [JIFFY-293] Make locale settings configurable in Jiffy by @jama5262 in https://github.com/jama5262/jiffy/pull/294
5+
* [JIFFY-297] Fix documentation by @jama5262 in https://github.com/jama5262/jiffy/pull/298
6+
* Bump lints from 3.0.0 to 5.1.1 by @dependabot in https://github.com/jama5262/jiffy/pull/291
7+
* JIFFY[257] - Fix: Use NumberFormat for locale-aware numeral parsing by @jama5262 in https://github.com/jama5262/jiffy/pull/299
8+
* JIFFY[300] - Fix Locale Code Validation: Normalize and Verify Supported Formats by @jama5262 in https://github.com/jama5262/jiffy/pull/301
9+
* JIFFY[281] - Add ISO 8601 String Parsing Support to Jiffy by @jama5262 in https://github.com/jama5262/jiffy/pull/302
10+
* JIFFY[303] - Add toString Support for Jiffy by @jama5262 in https://github.com/jama5262/jiffy/pull/304
11+
12+
13+
**Full Changelog**: https://github.com/jama5262/jiffy/compare/v6.3.2...v6.4.0
14+
115
# 6.3.2
216

317
## What's Changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Jiffy
22

3-
[![Publish to pub.dev](https://github.com/jama5262/jiffy/actions/workflows/publish.yml/badge.svg)](https://github.com/jama5262/jiffy/actions/workflows/publish.yml)
3+
[![Continuous Integration](https://github.com/jama5262/jiffy/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/jama5262/jiffy/actions/workflows/ci.yml)
44
[![codecov](https://codecov.io/gh/jama5262/jiffy/branch/master/graph/badge.svg?token=Z2EGVUGWTE)](https://codecov.io/gh/jama5262/jiffy)
55
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6-
[![Pub Version](https://img.shields.io/badge/pub.dev-v6.3.2-blue)](https://pub.dev/packages/jiffy/versions/6.3.2)
6+
[![Pub Version](https://img.shields.io/badge/pub.dev-v6.4.0-blue)](https://pub.dev/packages/jiffy/versions/6.4.0)
77
![Platform](https://img.shields.io/badge/platform-flutter%7Cweb%7Cdart%20vm-orange)
88

99
Jiffy is a Flutter (Android, IOS and Web) date time package for parsing, manipulating, querying and formatting dates and time
1010

11-
### [Full Documentation](https://github.com/jama5262/jiffy/tree/v6.3.2/doc) | [API Reference](https://pub.dev/documentation/jiffy/latest/jiffy/Jiffy-class.html) | [Installation](https://pub.dev/packages/jiffy/install) | [ChangeLog](https://pub.dev/packages/jiffy/changelog) | [Examples](https://pub.dev/packages/jiffy/example)
11+
### [Full Documentation](https://github.com/jama5262/jiffy/tree/v6.4.0/doc) | [API Reference](https://pub.dev/documentation/jiffy/latest/jiffy/Jiffy-class.html) | [Installation](https://pub.dev/packages/jiffy/install) | [ChangeLog](https://pub.dev/packages/jiffy/changelog) | [Examples](https://pub.dev/packages/jiffy/example)
1212

1313
### [Discussions](https://github.com/jama5262/jiffy/discussions)
1414

lib/jiffy.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/// Jiffy is a Flutter (Android, IOS and Web) date time package inspired by
22
/// [momentjs](https://momentjs.com/) for parsing, manipulating, querying
33
/// and formatting dates
4-
library jiffy;
4+
library;
55

66
export 'src/enums/unit.dart';
77
export 'src/enums/start_of_week.dart';

lib/src/jiffy.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import 'package:intl/intl.dart';
22
import 'package:intl/date_symbol_data_local.dart' as date_intl;
33

4-
import './utils/verify_locale.dart';
54
import './default_display.dart';
65
import './display.dart';
76
import './enums/start_of_week.dart';
@@ -15,8 +14,9 @@ import './utils/jiffy_exception.dart';
1514
import './global/global_ordinals.dart';
1615
import './global/global_relative_date_time.dart';
1716
import './global/global_start_of_week.dart';
18-
import 'locale/ordinals.dart';
19-
import 'locale/relative_date_time.dart';
17+
import './locale/ordinals.dart';
18+
import './locale/relative_date_time.dart';
19+
import './utils/verify_locale.dart';
2020

2121
/// [Jiffy](https://github.com/jama5262/jiffy) is a
2222
/// Flutter (Android, IOS and Web) date time package for
@@ -945,5 +945,5 @@ class Jiffy {
945945
int get hashCode => dateTime.hashCode;
946946

947947
@override
948-
String toString() => _dateTime.toIso8601String();
948+
String toString() => _display.formatToISO8601(_dateTime);
949949
}

pubspec.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: jiffy
2-
description: Jiffy is a date time dart package for parsing, manipulating, querying and formatting dates and time
3-
version: 6.3.2
2+
description: Jiffy is a Flutter (Android, IOS and Web) date time package for parsing, manipulating, querying and formatting dates and time
3+
version: 6.4.0
44
homepage: https://github.com/jama5262/jiffy
55
repository: https://github.com/jama5262/jiffy
66
issue_tracker: https://github.com/jama5262/jiffy/issues
@@ -10,10 +10,10 @@ environment:
1010
sdk: '>=3.0.0 <4.0.0'
1111

1212
dependencies:
13-
intl: ">=0.19.0 <0.21.0"
14-
quiver: "^3.2.2"
13+
intl: ^0.20.2
14+
quiver: ^3.2.2
1515

1616
dev_dependencies:
17-
lints: ">=2.0.1 <6.0.0"
18-
test: ^1.16.5
17+
lints: ^5.1.1
18+
test: ^1.25.15
1919
coverage: ^1.6.3

0 commit comments

Comments
 (0)