Skip to content

Commit 0b2d241

Browse files
authored
fix export toConstDateTime(). (#15)
1 parent 5ab1e16 commit 0b2d241

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.2.1
4+
5+
- Export `toConstDateTime()`.
6+
37
## 1.2.0
48

59
- Add `DateTime` extension to convert to `ConstDateTime`. ([#14](https://github.com/westy92/const-date-time/pull/14), thanks @jttuboi!)

lib/const_date_time.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
library const_date_time;
55

66
export 'src/const_date_time.dart';
7+
export 'src/to_const_date_time.dart';

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: const_date_time
22
description: A drop-in replacement for Dart's DateTime class with const constructors.
3-
version: 1.2.0
3+
version: 1.2.1
44
repository: https://github.com/westy92/const-date-time
55
issue_tracker: https://github.com/westy92/const-date-time/issues
66
funding:

0 commit comments

Comments
 (0)