Skip to content

Instantly share code, notes, and snippets.

View Marjani's full-sized avatar
👨‍💻
<code> is my language

AmirHossein Marjani

👨‍💻
<code> is my language
View GitHub Profile
@Marjani
Marjani / Nop.CompareLocaleResource
Last active March 16, 2019 16:26
Compare and extract different between tow NopCommerce Language pack
using System;
using System.Collections.Generic;
using System.Xml.Linq;
namespace Nop.CompareLocaleResource
{
class Program
{
static void Main(string[] args)
{
This file has been truncated, but you can view the full file.
@model DateTime?
@using System.Globalization;
<div class="row">
<div class="col-sm-12 col-xs-12 col-md-6">
<div class="input-group">
<div class="input-group-addon" id="popover-for-@Html.IdForModel()" >
<span class="glyphicon glyphicon-calendar"></span>
</div>
<input id="@Html.IdForModel()" name="@Html.NameForModel()" class="form-control text-box single-line" value="@(Model > DateTime.MinValue || Model.HasValue ? Model.Value.ToString("yyyy/MM/dd hh:mm:ss tt") : null)" />
</div>