Skip to content

Commit

Permalink
Localized timestamp in index
Browse files Browse the repository at this point in the history
  • Loading branch information
sjelfull committed Dec 4, 2018
1 parent cf58e7f commit 42d03a6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 1.0.4 - 2018-12-04

## Fixed
- Timestamp in Audit index is now localized

## 1.0.3 - 2018-12-04

## Added
- Added setting for pruning old records on admin requests
- Added setting for pruning old records on admin requests

## 1.0.2 - 2018-12-03

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "superbig/craft-audit",
"description": "Log adding/updating/deleting of elements",
"type": "craft-plugin",
"version": "1.0.3",
"version": "1.0.4",
"keywords": [
"craft",
"cms",
Expand Down
2 changes: 1 addition & 1 deletion src/templates/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<td>{{ log.getElementLink() }}</td>
<td>{{ log.getUserLink() }}</td>
<td>{{ log.ip }}</td>
<td>{{ log.dateCreated }}</td>
<td>{{ "#{log.dateCreated|date('short')} #{log.dateCreated|time('short')}" }}</td>
<td>
<a href="{{ log.getCpEditUrl() }}">&rarr;</a>
</td>
Expand Down

0 comments on commit 42d03a6

Please sign in to comment.