Skip to content

Commit

Permalink
fix 5 hours ago / 5 uur geleden
Browse files Browse the repository at this point in the history
  • Loading branch information
FredvanRijswijk committed Nov 5, 2024
1 parent 268558e commit 5054ff6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/messages/languages/nl_msg.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class DutchMessages implements Messages {

/// Message for when the elapsed time is in hours.
@override
String hoursAgo(int hours) => '$hours uren';
String hoursAgo(int hours) => '$hours uur';

/// Message for when the elapsed time is about a day.
@override
Expand Down
2 changes: 1 addition & 1 deletion test/messages/language/nl_msg_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void main() {
});

test('hoursAgo should return correct hours ago format', () {
expect(messages.hoursAgo(5), '5 uren');
expect(messages.hoursAgo(5), '5 uur');
});

test('dayAgo should return "een dag"', () {
Expand Down

0 comments on commit 5054ff6

Please sign in to comment.