Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2022-09-14 11:23:36 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f135f671d8af0802548dfda42c1867b5d96f4096
f135f671
1 parent
152ef55c
fix active dfy coupon expiration date format
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
SwiftWarplyFramework/SwiftWarplyFramework/WalletViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/WalletViewController.swift
View file @
f135f67
...
...
@@ -206,8 +206,8 @@ import SwiftEventBus
if
(
dfyCoupons
.
count
>
0
)
{
if
(
dfyCoupons
.
count
==
1
)
{
let
dateFormatter
=
DateFormatter
()
// dateFormatter.dateFormat = "yyyy-MM-dd hh
:mm:ss"
dateFormatter
.
dateFormat
=
"yyyy-MM-dd HH:mm"
dateFormatter
.
dateFormat
=
"yyyy-MM-dd HH
:mm:ss"
//
dateFormatter.dateFormat = "yyyy-MM-dd HH:mm"
// sort dfyCoupons by date
dfyCoupons
.
sort
(
by
:
{
...
...
Please
register
or
login
to post a comment