Files
mattermost-mobile/app/constants/datetime.ts
Anurag Shivarathri dad63b87bb Gekidou CRT - Global threads screen (#6140)
* Global threads

* Added translations

* User avatar stack

* In-Channel experience

* Misc Fixes

* Fixed fetchPostThread & added observer

* using the observable for participants & check fix

* Test case fix

* Fix tablet view thread screen switching

* No back button for tablets

* folders for thread options only if needed

* Using the existing observable

* Users stack refactor fix

* Reusing the user component

* Refactor fix

* Fixes double loaders when empty threads

* Feedback

* Moved some post options to common post options

* Combined follow/unfollow functions

* Feedback fixes

* Addressing Feedback

* Merge fix

* Threads button component moved

* Addressing feedbackk

* Not rendering message when it's empty, removed unwanted Props exports

* Addressing feedbac

* Updated snapshot

* Added emoji to removemarkdown component

* Moved MD rendering into the component

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: koox00 <3829551+koox00@users.noreply.github.com>
2022-04-28 09:01:36 -04:00

15 lines
484 B
TypeScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
export default {
SECONDS: {
MINUTE: 60,
HOUR: 3600, // 60 seconds * 60 minutes
DAY: 86400, // 24 hours = 24 * 3600
DAYS_30: 2592000, // 30 days * 86400 seconds
DAYS_31: 2678400, // 31 days * 86400 seconds
DAYS_365: 31536000, // 365 days * 86400 seconds
DAYS_366: 31622400, // 366 days * 86400 seconds
},
};