Skip to content

Comments

Shorten the relative time of envelopes#6992

Merged
GretaD merged 1 commit intomainfrom
enhancement/short-relative-time-envelope-list
Aug 15, 2022
Merged

Shorten the relative time of envelopes#6992
GretaD merged 1 commit intomainfrom
enhancement/short-relative-time-envelope-list

Conversation

@ChristophWurst
Copy link
Member

Fixes #6972

Bildschirmfoto vom 2022-08-12 13-28-46

import curry from 'lodash/fp/curry'
import moment from '@nextcloud/moment'

export const shortDatetime = curry((ref, date) => {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curried to make testing life easier 😎

@GretaD GretaD force-pushed the enhancement/short-relative-time-envelope-list branch from dbfffb3 to 91dc092 Compare August 15, 2022 08:58
Copy link
Contributor

@GretaD GretaD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

smooth

@GretaD
Copy link
Contributor

GretaD commented Aug 15, 2022

test has a problem, checking

@GretaD GretaD force-pushed the enhancement/short-relative-time-envelope-list branch from 3634f22 to 66390cc Compare August 15, 2022 10:57
@GretaD
Copy link
Contributor

GretaD commented Aug 15, 2022

test fixed

@GretaD GretaD merged commit 3619ab9 into main Aug 15, 2022
@GretaD GretaD deleted the enhancement/short-relative-time-envelope-list branch August 15, 2022 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Shorten message relative date format

2 participants