This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import moment from 'moment'; | |
const convert = (googleTimestamp, format) => { | |
return moment(new Date(1899, 12, 30)).add(googleTimestamp, 'd').format(format); | |
} | |
export default convert; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// CatalogPresenterTests.m | |
// PresentationUnitTestingTests | |
// | |
// Created by Artem Stepanenko on 17/08/16. | |
// Copyright © 2016 Artem Stepanenko. All rights reserved. | |
// | |
#import <XCTest/XCTest.h> | |
#import <OCMock/OCMock.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// NSOperationQueue+Completion.h | |
// QueueTest | |
// | |
// Created by Artem Stepanenko on 23.11.13. | |
// Copyright (c) 2013 Artem Stepanenko. All rights reserved. | |
// | |
typedef void (^NSOperationQueueCompletion) (void); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UIImage+Retina4.h | |
// StunOMatic | |
// | |
// Created by Benjamin Stahlhood on 9/12/12. | |
// Copyright (c) 2012 DS Media Labs. All rights reserved. | |
// | |
@interface UIImage (Retina4) |