Skip to content

Commit

Permalink
bumped to version 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nixrajput committed Dec 8, 2023
1 parent 44e4f7c commit 7f2ddaa
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.3.1

- **Fix**: Lint errors and warnings fixed.

## 1.3.0

- **Change**: Dependencies updated.
Expand Down
2 changes: 2 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
include: package:lints/core.yaml

analyzer:
language:
strict-raw-types: true
Expand Down
2 changes: 1 addition & 1 deletion example/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
flutter:
sdk: flutter

cupertino_icons: ^1.0.5
cupertino_icons: ^1.0.6

get_time_ago:
path: ../
Expand Down
4 changes: 3 additions & 1 deletion lib/src/messages/messages.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/// [Messages] Template
/// Define [Messages] Template
library get_time_ago;

abstract class Messages {
/// Example: `prefixAgo()` 1 min `suffixAgo()`
Expand Down
5 changes: 4 additions & 1 deletion lib/src/utils/utility.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/// Utility function to convert the English number into Urdu numerals
/// Utility function [convertToUrduNumbers] to convert the English number
/// into Urdu numerals
library get_time_ago;

String convertToUrduNumbers(int input) {
const english = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: get_time_ago
description: A Dart package to convert and format `DateTime` object into `get_time_ago` format to get String like `10 seconds ago`, `a minute ago`, `7 hours ago`, etc.

version: 1.3.0
version: 1.3.1

homepage: https://pub.dev/packages/get_time_ago
repository: https://github.com/nixrajput/get-time-ago
Expand Down

0 comments on commit 7f2ddaa

Please sign in to comment.